diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-03-08 13:56:55 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-03-08 13:56:55 (GMT) |
commit | 067066361a88c28c0b5e34a3b04de3a8799eb6f2 (patch) | |
tree | c1d0c8174f9fd32a09d74f2bf659b535a3144fad /unix/tclUnixNotfy.c | |
parent | 02cf886320e28b6ddbdb02991292a241a8ad4127 (diff) | |
download | tcl-067066361a88c28c0b5e34a3b04de3a8799eb6f2.zip tcl-067066361a88c28c0b5e34a3b04de3a8799eb6f2.tar.gz tcl-067066361a88c28c0b5e34a3b04de3a8799eb6f2.tar.bz2 |
Fix compile error on Cygwin, and double definition of TclUnixWaitForFile()
Diffstat (limited to 'unix/tclUnixNotfy.c')
-rw-r--r-- | unix/tclUnixNotfy.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index 248504b..eb3e8ba 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.c @@ -322,7 +322,7 @@ AlertSingleThread( * continuously spinning on epoll_wait until the other * threads runs and services the file event. */ - + if (tsdPtr->prevPtr) { tsdPtr->prevPtr->nextPtr = tsdPtr->nextPtr; } else { @@ -396,8 +396,6 @@ AtForkChild(void) * The tsdPtr from before the fork is copied as well. But since * we are paranoic, we don't trust its condvar and reset it. */ - pthread_cond_destroy(&tsdPtr->waitCV); - pthread_cond_init(&tsdPtr->waitCV, NULL); #ifdef __CYGWIN__ DestroyWindow(tsdPtr->hwnd); tsdPtr->hwnd = CreateWindowExW(NULL, className, |