* Makefile.in: Remove external.h dependency.

* dcrt0.cc (sigthread::init): Move here from sigproc.h.
* sigproc.h (sigthread): Move init to dcrt0.cc.
This commit is contained in:
Christopher Faylor 2000-05-18 21:30:30 +00:00
parent f43932615d
commit f343a326d3
4 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,9 @@
Thu May 18 17:28:19 2000 Christopher Faylor <cgf@cygnus.com>
* Makefile.in: Remove external.h dependency.
* dcrt0.cc (sigthread::init): Move here from sigproc.h.
* sigproc.h (sigthread): Move init to dcrt0.cc.
Thu May 18 01:28:02 2000 Christopher Faylor <cgf@cygnus.com>
* select.cc (thread_pipe): Add paranoid check to ensure thread

View File

@ -283,7 +283,7 @@ environ.o: $(WINSUP_H)
errno.o: $(WINSUP_H)
exceptions.o: $(WINSUP_H) include/exceptions.h sync.h autoload.h
exec.o: $(WINSUP_H)
external.o: $(WINSUP_H) external.h
external.o: $(WINSUP_H)
fcntl.o: $(WINSUP_H)
fhandler.o: $(WINSUP_H)
fhandler_console.o: $(WINSUP_H)

View File

@ -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

View File

@ -40,11 +40,7 @@ struct sigthread
DWORD frame;
muto *lock;
sigthread () : id (0), frame (0), lock (0) {}
void init (const char *s)
{
lock = new_muto (FALSE, s);
id = GetCurrentThreadId ();
}
void init (const char *s);
};
class sigframe