summaryrefslogtreecommitdiff
path: root/Objective-C/libobjcl.m
diff options
context:
space:
mode:
Diffstat (limited to 'Objective-C/libobjcl.m')
-rw-r--r--Objective-C/libobjcl.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m
index b3fe789..d32a37c 100644
--- a/Objective-C/libobjcl.m
+++ b/Objective-C/libobjcl.m
@@ -775,6 +775,8 @@ objcl_create_imp (IMP callback,
void
objcl_acquire_lock (id lock)
{
+ TRACE (@"acquire-lock");
+ TRACE (@" %@", lock);
[lock lock];
TRACE (@"Lock %@ acquired.", lock);
}
@@ -783,6 +785,8 @@ objcl_acquire_lock (id lock)
void
objcl_release_lock (id lock)
{
+ TRACE (@"release-lock");
+ TRACE (@" %@", lock);
[lock unlock];
TRACE (@"Lock %@ released.", lock);
}