diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-01-28 21:45:16 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-01-28 21:45:29 +0300 |
commit | 773d85ab320b0a115ef23321435649e1a8a1ef63 (patch) | |
tree | 265efab63d8f46ce971262229ff53c5e4992dd83 /source/blender/makesdna/DNA_sound_types.h | |
parent | 424100cecbb202004e1687d5066b2c88e7a58f58 (diff) |
Based on Sergey's suggestion, use spinlocks for threaded loading of
waveforms.
Diffstat (limited to 'source/blender/makesdna/DNA_sound_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_sound_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_sound_types.h b/source/blender/makesdna/DNA_sound_types.h index 4ab22e4f7b7..cb132c1b550 100644 --- a/source/blender/makesdna/DNA_sound_types.h +++ b/source/blender/makesdna/DNA_sound_types.h @@ -95,8 +95,8 @@ typedef struct bSound { */ void *playback_handle; - /* mutex for asynchronous loading of sounds */ - void *mutex; + /* spinlock for asynchronous loading of sounds */ + void *spinlock; /* XXX unused currently (SOUND_TYPE_LIMITER) */ /* float start, end; */ } bSound; |