Previous chapter
To contents
Next chapter
Chapter 10, Threads
Threads are used to run several Pike functions at the same time without having to start
several Pike processes. Using threads often simplifies coding and because the
threads are within the same process, data can be shared or sent to other threads
very fast. Threads are not supported on all systems, you may test if you have
thread support with the preprocessor construction #if constant(thread_create).
Pike needs POSIX or UNIX thread support when compiled to support threads.
Previous chapter
To contents
Next chapter