OSDN Git Service

make sure function is always inlined
authorMike Frysinger <vapier@gentoo.org>
Thu, 8 Sep 2005 03:00:39 +0000 (03:00 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 8 Sep 2005 03:00:39 +0000 (03:00 -0000)
libpthread/linuxthreads/spinlock.h

index 0ec40c5..ff96fc3 100644 (file)
@@ -196,7 +196,7 @@ static inline long atomic_decrement(struct pthread_atomic *pa)
 }
 
 
-static inline void
+static inline __attribute__((always_inline)) void
 __pthread_set_own_extricate_if (pthread_descr self, pthread_extricate_if *peif)
 {
   /* Only store a non-null peif if the thread has cancellation enabled.