Here are the same elements of process and thread listed in the table.
| Process | Thread |
Descreiption |
| fork | pthread_create |
create |
| exit | pthread_exit | exit |
| waitpid |
pthread_join | get quit status |
| atexit | pthread_cancel_push | register to exit |
| getpid | pthread_self | get id |
| abort | pthread_cancel | exit improperly |
Process communication: pipe, message, semaphore, shared memory, socket.
Thread communication: mutex, read-write lock, condition variable.
Thread communication: mutex, read-write lock, condition variable.