summaryrefslogtreecommitdiffstats
path: root/test/native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-12-11 04:10:34 +0100
committerSven Gothel <[email protected]>2011-12-11 04:10:34 +0100
commit4374d11a3a204ab608402ee24a8cee14eff923ef (patch)
tree6fcfa2b1b727e6df294a070fa67289bde335020a /test/native
parent8dc2ad6a130c75121bc35e393d1cab89217d4d63 (diff)
RecursiveThreadGroupLock: New recursive lock interface and impl, allowing 'spawn off' process to become the lock owner.
To avoid complicated synchronization via synchronized, wait and notify between one thread and a 'spawn' off thread which temporarly requires the hold lock, RecursiveThreadGroupLock allows to add and remove other threads to become owners of the lock as if they were the original holder. This simplifies some rare locking use cases, eg. in JOGL's GLProfile initialization sequence where a SharedResourceRunner thread is taking over initialization of shared resources.
Diffstat (limited to 'test/native')
0 files changed, 0 insertions, 0 deletions