Lightweight processes should not be confused with user-mode threads, which are different
execution flows handled by a user-level library. For instance, older Linux systems
implemented POSIX threads entirely in user space by means of the pthread library; therefore,a multithreaded program was executed as a single Linux process. Currently, the pthread library, which has been merged into the standard C library, takes advantage of lightweight processes.