aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/signal.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-05-22 16:22:36 +0000
committerChristopher Faylor <me@cgf.cx>2001-05-22 16:22:36 +0000
commit43a190430b8e180db4188d7c929796a499909b28 (patch)
treebe1cecdfcb33e23d33a87d43bcf34a292e4f5557 /winsup/cygwin/signal.cc
parente7e956a7dbcffbb9bff8b10af3bd88c293c19c6e (diff)
downloadnewlib-43a190430b8e180db4188d7c929796a499909b28.zip
newlib-43a190430b8e180db4188d7c929796a499909b28.tar.gz
newlib-43a190430b8e180db4188d7c929796a499909b28.tar.bz2
* signal.cc (sleep): Protect with sigframe.
Diffstat (limited to 'winsup/cygwin/signal.cc')
-rw-r--r--winsup/cygwin/signal.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc
index bc3746b..8b10f41 100644
--- a/winsup/cygwin/signal.cc
+++ b/winsup/cygwin/signal.cc
@@ -68,6 +68,7 @@ sleep (unsigned int seconds)
int rc;
unsigned start_time;
unsigned int res;
+ sigframe thisframe (mainthread);
start_time = GetTickCount ();