BeOS's _glthread_DECLARE_STATIC_MUTEX() couldn't be used outside a function
authorPhilippe Houdoin <phoudoin@freedesktop.org>
Sat, 14 Aug 2004 09:48:57 +0000 (09:48 +0000)
committerPhilippe Houdoin <phoudoin@freedesktop.org>
Sat, 14 Aug 2004 09:48:57 +0000 (09:48 +0000)
commitb4907820c23887e3f2447586d925cb52fd38ea41
tree1e0c0e717f8b8f5118e7090f8d4f8a309164d31d
parent4b3be4d8be05da426e9f9b06d6d8317e86e70d68
BeOS's _glthread_DECLARE_STATIC_MUTEX() couldn't be used outside a function
because she called create_sem(). Now the semaphore creation is made at first
_glthread_LOCK_MUTEX() call.
src/mesa/glapi/glthread.h