diff options
| author | Neal H. Walfield <neal@gnu.org> | 2005-02-08 16:17:13 +0000 |
|---|---|---|
| committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-04-06 22:41:29 +0200 |
| commit | 8b5dd2555959dd72143fa43382dc15532a0b420a (patch) | |
| tree | caf8debe7cb1003977537cc151635482249cc134 /sysdeps/l4/hurd | |
| parent | 3d47808ce03e2e96f39c4d051e0d7f83bbd49180 (diff) | |
libpthread/
2005-02-08 Neal H. Walfield <neal@gnu.org>
* sysdeps/posix/pt-spin.c (__pthread_spin_lock): Make a weak alias
to _pthread_spin_lock.
* sysdeps/l4/hurd/pt-sysdep.h (_pthread_self): Add
__always_inline__ attribute.
(__pthread_stack_dealloc): Likewise.
Diffstat (limited to 'sysdeps/l4/hurd')
| -rw-r--r-- | sysdeps/l4/hurd/pt-sysdep.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/l4/hurd/pt-sysdep.h b/sysdeps/l4/hurd/pt-sysdep.h index 7e69d709..0b5abb74 100644 --- a/sysdeps/l4/hurd/pt-sysdep.h +++ b/sysdeps/l4/hurd/pt-sysdep.h @@ -1,5 +1,5 @@ /* Internal defenitions for pthreads library. - Copyright (C) 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -33,12 +33,14 @@ l4_word_t my_errno; extern inline struct __pthread * +__attribute__((__always_inline__)) _pthread_self (void) { return (struct __pthread *) l4_user_defined_handle (); } extern inline void +__attribute__((__always_inline__)) __pthread_stack_dealloc (void *stackaddr, size_t stacksize) { /* XXX: can only implement this once we have a working memory manager. */ |
