|
From: Lucio A. I. A. <l.i...@gm...> - 2016-11-27 21:30:39
|
On 27.11.2016 22:17, Christian Gollwitzer wrote: > I am not sure, have not reviewed your code. Interthread communication > works by means of Tcl_ThreadQueueEvent() and Tcl_ThreadAlert(). How does > it work to wake up a different thread in your implementation? I've checked the code you've mentioned. This will indeed not work without the notifier thread as we can hardly block on both a condition variable (so to speak) and epoll_wait/kevent. How does pthread_kill(3) sound? |