PThreads (POSIX Threads)
ä Instead of extensions to languages a package of
routines is used
ä Environment usually initialized using a subroutine
call in the main environment
ä Interaction mechanisms
ä Shared memory
ä Mutex for synchronization
ä Fork and join primitives
ä Examples of operations:
ä pthread_create(thread_id, attributes, start_routine,
address_of_stack)
ä pthread_yield(void)
ä pthread_mutex_init(mutex, attributes)
ä pthread_mutex_lock(mutex)
ä pthread_mutex_unlock(mutex)
ä Others.....