summaryrefslogtreecommitdiffstats
path: root/winsup
diff options
context:
space:
mode:
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/Makefile.in2
-rw-r--r--winsup/cygwin/dcrt0.cc7
-rw-r--r--winsup/cygwin/sigproc.h6
4 files changed, 15 insertions, 6 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index e0b2dfd6a..e04338eb8 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index b04b79a0c..9fdbe6687 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -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)
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
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h
index 2a55b12f7..d850ec923 100644
--- a/winsup/cygwin/sigproc.h
+++ b/winsup/cygwin/sigproc.h
@@ -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