Scratchpad r74 (See the current copy)
- Random Demonstrations
- Information about Threads
- Information about Tcl
- Random Diatribes
- Information about Random Number Generation
- Information about Roy Keene
- Information about interesting Current Projects
- My Friends
Feel free to contact me about this website at mailto:wiki@rkeene.org
- Random Scripts
- My Scratchpad
- Random Links
What you will find here
pthreads
POSIX Threads
https://computing.llnl.gov/tutorials/pthreads/
"For UNIX systems, a standardized C language threads programming interface has been specified by the IEEE POSIX 1003.1c standard."
Usually Preemptive Threading
Some useful documentation related to PThreads:
- http://opengroup.org/onlinepubs/007908799/xsh/pthread_create.html
- http://opengroup.org/onlinepubs/007908799/xsh/pthread_exit.html
- http://opengroup.org/onlinepubs/007908799/xsh/pthread_join.html
Simplistic Win32 Pthreads Emulation information
My simplified version of his header file (a very simplistic approach to "porting" PThreads to Win32)
Sample PThread applications:
- http://www.rkeene.org/projects/info/resources/threads/test1-pthread.c
- http://www.rkeene.org/projects/info/resources/threads/test1-pthread-emul.c (uses Win32 POSIX Threads Emulation Layer)