From c3a4634985018ad5e1e1d972ff3799254e0b88aa Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 21 Dec 2012 21:30:56 +0000 Subject: Revert the reversion and go with implementation described in cgf-000017, with some modifications. * init.cc (dll_entry): Revert previous change. * miscfuncs.cc: Include sigproc.h for exit_thread declaration. * winsup.h (ExitThread): Define as 'exit_thread' to ensure no accidental use. * sigproc.cc (exit_thread): New function. (wait_sig): Handle __SIGTHREADEXIT case. Don't just block rather than returning from this function. * sigproc.h (__SIGTHREADEXIT): New enum. (exit_thread): Declare. * sync.cc (muto::release): Accept a tls command-line argument. * sync.h (muto::release): Accept a tls command-line parameter. Default to &_my_tls. * cygerrno.h (__set_errno): Define as extern so that no function code is ever emitted. * cygserver_ipc.h (cygserver_ipc.h): Ditto. * miscfuncs.h (transform_chars): Ditto. * path.h (has_attribute): Ditto. * security.h (privilege_luid): Ditto. * winsup.h (flush_file_buffers): Ditto. --- winsup/cygwin/cygserver_ipc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/cygserver_ipc.h') diff --git a/winsup/cygwin/cygserver_ipc.h b/winsup/cygwin/cygserver_ipc.h index 4dbc8212f..d99f47647 100644 --- a/winsup/cygwin/cygserver_ipc.h +++ b/winsup/cygwin/cygserver_ipc.h @@ -33,7 +33,7 @@ struct proc { #ifdef __INSIDE_CYGWIN__ #include "sigproc.h" -inline void +extern inline void ipc_set_proc_info (proc &blk) { blk.cygpid = getpid (); -- cgit v1.2.3