diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-07-10 15:21:42 +0800 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-24 11:45:57 -0600 |
commit | 99939982ec76cb1fee84da9027375c55888dca20 (patch) | |
tree | 13e9f2aedb680ad74f7e189ae0d90f0444009ce2 /common.py | |
parent | 53db19b57d41a5e6beea5cb5dff4f7f638ca7b50 (diff) |
glapi: Protect _glapi_check_multithread by a mutex.
Multiple threads might call _glapi_check_multithread at roughly the same
time. It is possbile that all of them are wrongly regarded as firstCall
if there is no mutex. This bug causes xeglthreads to crash sometimes.
Acked-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions