Save a function call in common mutex locking/unlocking operations
authorNicola Pero <nicola@gcc.gnu.org>
Wed, 18 Jul 2001 11:55:24 +0000 (11:55 +0000)
committerNicola Pero <nicola@gcc.gnu.org>
Wed, 18 Jul 2001 11:55:24 +0000 (11:55 +0000)
From-SVN: r44107

libobjc/ChangeLog

index da205a15df01b7caf6325b18396488da9f6ef60e..a19fb0ad9a7dfada5d405c863a73f428b417a356 100644 (file)
@@ -1,3 +1,10 @@
+Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
+
+       * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
+       rather than through objc_thread_id, to save a function call.
+       (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
+       Ditto.
+
 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
 
        * objc/objc-api.h (object_is_class): Fixed - buggy code was trying