|
|
The basic operations on threads are conceptually similar to certain operations on processes.
Operation | Process method | Thread method |
---|---|---|
Creation |
fork(2)
exec(2) | thr_create(3thread) |
Termination | exit(2) | thr_exit(3thread) |
Synchronization | wait(2) | thr_join(3thread) |