mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
More changes to make lock tracking more robust
This commit is contained in:
parent
603c3b1103
commit
cc7a146796
6 changed files with 107 additions and 57 deletions
|
@ -371,12 +371,9 @@ GS_EXPORT BOOL GSRegisterCurrentThread (void);
|
|||
* notification. */
|
||||
GS_EXPORT void GSUnregisterCurrentThread (void);
|
||||
|
||||
@interface NSThread (GSLockInfo)
|
||||
/** Turns on/off tracing of locks for deadlock tracking. Use of this option
|
||||
* introduces a major overhead processing lock operations, but enables
|
||||
* detection of deadlocks between threads.
|
||||
/* Internal API used by traced locks.
|
||||
*/
|
||||
+ (void) setTraceLocks: (BOOL)aFlag;
|
||||
@interface NSThread (GSLockInfo)
|
||||
|
||||
/* Removes the mutex (either as the one we are waiting for or as a held mutex.
|
||||
* For internal use only ... do not call this method.<br />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue