Prev
|
Index
|
Next
3. Event loop
select() with non-blocking sockets, asynchronous I/O, etc.
Thread-safety, deadlocks, race conditions all less problematic
Threads can be added to event loop, reverse is harder
Easy integration with GUI toolkits