Threads: added queue for passing data between threads. Includes a function
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 22 Jan 2010 11:06:57 +0000 (11:06 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 22 Jan 2010 11:06:57 +0000 (11:06 +0000)
commit2d2339a70992b819a23e8c71f68027022b395f46
tree747707ad2e7660e95e67b9c417feb5a619685072
parentcbc4aae06a9b3878b0af68884a75b953e3c8612b
Threads: added queue for passing data between threads. Includes a function
to wait for an item to be put in the queue and then pop immediately without,
this makes it possible to avoid sleep() while waiting for the results of a
thread.
source/blender/blenlib/BLI_gsqueue.h
source/blender/blenlib/BLI_threads.h
source/blender/blenlib/intern/threads.c