summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixNotfy.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-08 13:56:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-08 13:56:55 (GMT)
commitb2181df698c6eb7d579e90e5690d23e24cd6c730 (patch)
treec1d0c8174f9fd32a09d74f2bf659b535a3144fad /unix/tclUnixNotfy.c
parent6469ae095f7c539980465de415ab3d35580d84d4 (diff)
downloadtcl-b2181df698c6eb7d579e90e5690d23e24cd6c730.zip
tcl-b2181df698c6eb7d579e90e5690d23e24cd6c730.tar.gz
tcl-b2181df698c6eb7d579e90e5690d23e24cd6c730.tar.bz2
Fix compile error on Cygwin, and double definition of TclUnixWaitForFile()
Diffstat (limited to 'unix/tclUnixNotfy.c')
-rw-r--r--unix/tclUnixNotfy.c4
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,