2 ms·
How is a clock signal different? It is just another external event userspace wants to be notified about. Note that on Unix you can use signals to get IO readin
by gpderetta 11y ago
How is a clock signal different? It is just another external event userspace wants to be notified about.
Note that on Unix you can use signals to get IO readiness notification and in fact for sometime on Linux (before epoll) realtime signals were the preferred method to do get notification over a large amount of fds.
Anyway, as a general guideline, user/kernel transition is cheaper than a (kernel) thread/thread transition which is in turn cheaper than a process/process transition.