diff options
author | Christopher Faylor <me@cgf.cx> | 2000-05-18 21:30:30 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-05-18 21:30:30 +0000 |
commit | f343a326d3da43f8e3c73494e412b7e123c216fc (patch) | |
tree | 3e67c1ebce041fe36a4607451fbfcc9bff96d022 /winsup/cygwin/dcrt0.cc | |
parent | f43932615d05b3a2ee85885693410a3cb62c31a0 (diff) | |
download | cygnal-f343a326d3da43f8e3c73494e412b7e123c216fc.tar.gz cygnal-f343a326d3da43f8e3c73494e412b7e123c216fc.tar.bz2 cygnal-f343a326d3da43f8e3c73494e412b7e123c216fc.zip |
* Makefile.in: Remove external.h dependency.
* dcrt0.cc (sigthread::init): Move here from sigproc.h.
* sigproc.h (sigthread): Move init to dcrt0.cc.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 6d5e8dbd7..b59f2d183 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -558,6 +558,13 @@ ResourceLocks _reslock NO_COPY; MTinterface _mtinterf NO_COPY; #endif +void +sigthread::init (const char *s) +{ + lock = new_muto (FALSE, s); + id = GetCurrentThreadId (); +} + /* Take over from libc's crt0.o and start the application. Note the various special cases when Cygwin DLL is being runtime loaded (as opposed to being link-time loaded by Cygwin apps) from a non |