Set the done flag immediately when entering the initialization
commit081e593e2b3caf86c7dfb8fa90485c309258ea0d
authorChris Robinson <chris.kcat@gmail.com>
Thu, 7 Feb 2008 06:22:29 +0000 (6 22:22 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Thu, 7 Feb 2008 06:22:29 +0000 (6 22:22 -0800)
tree146c488ec3e0cad4079905a8ab720c38b6e92edc
parentb4ffdfab81827626a3da2882218d401fd83cf375
Set the done flag immediately when entering the initialization
To prevent two threads from initializing at the same time (not that it's
likely to happen at this point).
Alc/ALc.c