summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/gl_table.py
diff options
context:
space:
mode:
authorPauli Nieminen <suokkos@gmail.com>2009-07-30 20:17:29 +0300
committerAlex Deucher <alexdeucher@gmail.com>2009-08-12 14:14:29 -0400
commit29173d3d5cf02d58e720b5c7fe48a0630c7d5d5f (patch)
treeafaf64a351d5f451de6e9cd12191c25079888f38 /src/mesa/glapi/gl_table.py
parent5eeb44f3983dfda2f2707783be12806da795cbcd (diff)
radeon: Add protection against recursive DRM locking.
Reference counting protects DRM lock call from recursive locking that would cause hang. Code also adds optional debugging output for recursive call that is compiled only if NDEBUG is not defined. This code is not 100% thread safe because mesa doesn't include increment and test atomic operation. There is built-in gcc functions but they are only available from gcc 4.2.
Diffstat (limited to 'src/mesa/glapi/gl_table.py')
0 files changed, 0 insertions, 0 deletions