diff options
author | Christopher Faylor <me@cgf.cx> | 2004-02-09 07:04:24 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-02-09 07:04:24 +0300 |
commit | cec4879206f2158d19eccdf5395b551da7c22cb3 (patch) | |
tree | 9360159e144fab21242d60375653ef2def3206ef /winsup/cygwin/cygtls.h | |
parent | 733309f5761d777a61b8db86e734fbffc236f104 (diff) |
* debug.h (console_printf): Define for non-debugging condition.
* cygtls.h (_threadinfo::lock): Remove wait argument.
(_threadinfo::interrupt_setup): Remove retaddr argument.
* exceptions.cc (_threadinfo::interrupt_setup): Ditto.
(_threadinfo::interrupt_now): Accommodate change to interrupt_setup argument.
(setup_handler): Ditto. Always lock sig stack prior to determining interrupt
method.
* gendef (_sigfe): Correct thinko regarding cmpxchg.
(_sigbe): Ditto.
(_threadinfo::lock): Ditto.
(_threadinfo::pop): Eliminate left-over stack unlock.
* sigproc.cc (proc_subproc): Chnage debugging output to printed warning.
Diffstat (limited to 'winsup/cygwin/cygtls.h')
-rw-r--r-- | winsup/cygwin/cygtls.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/winsup/cygwin/cygtls.h b/winsup/cygwin/cygtls.h index c1525a45d..43802dd81 100644 --- a/winsup/cygwin/cygtls.h +++ b/winsup/cygwin/cygtls.h @@ -1,6 +1,6 @@ /* cygtls.h - Copyright 2003 Red Hat, Inc. + Copyright 2003, 2004 Red Hat, Inc. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for @@ -130,14 +130,15 @@ struct _threadinfo void reset_exception (); bool interrupt_now (CONTEXT *, int, void *, struct sigaction&) __attribute__((regparm(3))); - void __stdcall interrupt_setup (int sig, void *handler, struct sigaction& siga, __stack_t retaddr) + void __stdcall interrupt_setup (int sig, void *handler, + struct sigaction& siga) __attribute__((regparm(3))); void init_threadlist_exceptions (struct _exception_list *); operator HANDLE () const {return tid->win32_obj_id;} void set_siginfo (struct sigpacket *) __attribute__ ((regparm (3))); void set_threadkill () {threadkill = true;} void reset_threadkill () {threadkill = false;} - int lock (int wait) __attribute__ ((regparm (2))); + int lock () __attribute__ ((regparm (1))); void unlock () __attribute__ ((regparm (1))); /*gentls_offsets*/ }; |