mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
73f7c32c47
Update. 2004-09-02 Steven Munroe <sjmunroe@us.ibm.com> [BZ #357] * stdlib/tst-setcontext.c (test_stack): Added test for stack clobber. (main): Call test_stack. * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S (__getcontext): Push stack frame then save parms in local frame. Improve instruction scheduling. * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S (__swapcontext): Likewise.
17 lines
578 B
Plaintext
17 lines
578 B
Plaintext
#include <stddef.h>
|
|
#include <sched.h>
|
|
#include <bits/pthreadtypes.h>
|
|
#include <internaltypes.h>
|
|
|
|
--
|
|
|
|
cond_lock offsetof (pthread_cond_t, __data.__lock)
|
|
cond_futex offsetof (pthread_cond_t, __data.__futex)
|
|
cond_nwaiters offsetof (pthread_cond_t, __data.__nwaiters)
|
|
total_seq offsetof (pthread_cond_t, __data.__total_seq)
|
|
wakeup_seq offsetof (pthread_cond_t, __data.__wakeup_seq)
|
|
woken_seq offsetof (pthread_cond_t, __data.__woken_seq)
|
|
dep_mutex offsetof (pthread_cond_t, __data.__mutex)
|
|
broadcast_seq offsetof (pthread_cond_t, __data.__broadcast_seq)
|
|
clock_bits COND_CLOCK_BITS
|