Multithreaded Tcl - Event Loop
Finally, the event loop was modified so each thread maintains a (seemingly) independent event loop
2. Notifier watches files for all
threads with single select() loop
Threads
interested
in file events:
Other Threads
1. Threads sends
files to watch to
Notifier and
enters condition wait...
3) Notifier wakes up
individual threads when
file of interest is ready
Previous slide
Next slide
Back to first slide
View graphic version