Переглянути джерело

make sure function is always inlined

Mike Frysinger 18 роки тому
батько
коміт
5f6104b428
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      libpthread/linuxthreads/spinlock.h

+ 1 - 1
libpthread/linuxthreads/spinlock.h

@@ -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.