|
|
|
|
|
by amelius
493 days ago
|
|
Another consideration: often you want to wait for several types of object (timer, semaphore, file, etc.), so you need one interface where you can do wait([A, B, C, ...]) where A can be a timer and B a semaphore, C a file, etc. Basically, the OS should present a unified interface. |
|
Of course if you have epoll you probably have timerfd, wich does give you a unified interface, just not as portable