diff options
author | Christopher Faylor <me@cgf.cx> | 2001-11-28 00:06:35 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-11-28 00:06:35 +0000 |
commit | 4d029f3940b1f91b5ee06ccd724c90245c9d52cc (patch) | |
tree | 4fd6a178d45eaa67f07ed6e1905b6e192987a743 /winsup/cygwin/debug.cc | |
parent | a6d66c13997c667dc5de8de8865371b9fc1d20ef (diff) | |
download | newlib-4d029f3940b1f91b5ee06ccd724c90245c9d52cc.zip newlib-4d029f3940b1f91b5ee06ccd724c90245c9d52cc.tar.gz newlib-4d029f3940b1f91b5ee06ccd724c90245c9d52cc.tar.bz2 |
* cygwin.din (ualarm): New export.
* dcrt0.cc (_dll_crt0): Add experimental tls storage declaration.
(dll_crt0): Ditto.
* debug.cc (thread_stub): Ditto.
* thread.cc: Minor cleanup.
(__pthread_create): Add experimental tls storage declaration.
* miscfuncs.cc: Define tls index.
* winsup.h: Declare experimental tls storage.
* window.cc (alarm): Use old timer return from setitimer.
(ualarm): New function.
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r-- | winsup/cygwin/debug.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc index a25283e..4001306 100644 --- a/winsup/cygwin/debug.cc +++ b/winsup/cygwin/debug.cc @@ -82,6 +82,7 @@ thread_start NO_COPY start_buf[NTHREADS] = {{0, NULL,NULL}}; static DWORD WINAPI thread_stub (VOID *arg) { + DECLARE_TLS_STORAGE; LPTHREAD_START_ROUTINE threadfunc = ((thread_start *) arg)->func; VOID *threadarg = ((thread_start *) arg)->arg; |