diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-10-30 20:13:59 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-10-30 20:13:59 +0100 |
commit | 10c4673df9e51862737285c87270245e025c8c1f (patch) | |
tree | c6bdcdb6966e1435437cbb35302417f24eae60ea /libpthread/sysdeps/mach/hurd/pt-sysdep.h | |
parent | e15520309f5eeb86caeb32908b5da257f46aa1e6 (diff) | |
parent | 916e61485d5434e0b4052832ca331cf0eb315538 (diff) |
Merge branch 'libpthread-moved' into upstream-merged
Diffstat (limited to 'libpthread/sysdeps/mach/hurd/pt-sysdep.h')
-rw-r--r-- | libpthread/sysdeps/mach/hurd/pt-sysdep.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libpthread/sysdeps/mach/hurd/pt-sysdep.h b/libpthread/sysdeps/mach/hurd/pt-sysdep.h index f14a1366..13e235d9 100644 --- a/libpthread/sysdeps/mach/hurd/pt-sysdep.h +++ b/libpthread/sysdeps/mach/hurd/pt-sysdep.h @@ -1,5 +1,5 @@ /* Internal defenitions for pthreads library. - Copyright (C) 2000, 2002, 2008 Free Software Foundation, Inc. + Copyright (C) 2000, 2002, 2007, 2008 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 @@ -60,11 +60,13 @@ __pthread_stack_dealloc (void *stackaddr, size_t stacksize) __vm_deallocate (__mach_task_self (), (vm_offset_t) stackaddr, stacksize); } -/* Change thread THREAD's program counter to PC if SET_PC is true and - its stack pointer to SP if SET_IP is true. */ -extern int __thread_set_pcsp (thread_t thread, +/* Change thread THREAD's program counter to PC if SET_PC is true, + its stack pointer to SP if SET_IP is true, and its thread pointer + to TP if SET_TP is true. */ +extern int __thread_set_pcsptp (thread_t thread, int set_pc, void *pc, - int set_sp, void *sp); + int set_sp, void *sp, + int set_tp, void *tp); #endif /* pt-sysdep.h */ |