Tcl Source Code

Check-in [ae3cf707c1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:unblock signals correctly with SIG_SETMASK
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | bug-f4f44174e
Files: files | file ages | folders
SHA1: ae3cf707c1fb49384f6ae3640c96b39b4121bb23
User & Date: aspect 2016-12-06 21:51:35
Context
2016-12-06
21:52
move pthread_sigmask() calls to Tcl_WaitForEvent() where they belong Leaf check-in: 8cec831ad2 user: aspect tags: bug-f4f44174e
21:51
unblock signals correctly with SIG_SETMASK check-in: ae3cf707c1 user: aspect tags: bug-f4f44174e
2016-12-05
23:40
remove ill-conceived feature test macro check-in: 4998d7833d user: aspect tags: bug-f4f44174e
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to unix/tclUnixNotfy.c.

505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
	PostMessageW(tsdPtr->hwnd, 1024, 0, 0);
#   else
	pthread_cond_broadcast(&tsdPtr->waitCV);
#   endif /* __CYGWIN__ */
	pthread_mutex_unlock(&notifierMutex);

	/* unblock signals */
	pthread_sigmask(SIG_BLOCK, &oldset, NULL);

#endif /* TCL_THREADS */
    }
}

/*
 *----------------------------------------------------------------------







|







505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
	PostMessageW(tsdPtr->hwnd, 1024, 0, 0);
#   else
	pthread_cond_broadcast(&tsdPtr->waitCV);
#   endif /* __CYGWIN__ */
	pthread_mutex_unlock(&notifierMutex);

	/* unblock signals */
	pthread_sigmask(SIG_SETMASK, &oldset, NULL);

#endif /* TCL_THREADS */
    }
}

/*
 *----------------------------------------------------------------------