Threading Support Functions


Procedures for working with multithreaded applications.

Description:
These procedures allow for multithreaded programming. Threads and conditional variables can be created and destroyed, and so-called mutexes can be obtained to protect thread-sensitive data.

Threads
Procedures that start and wait for threaded procedures.
Conditional Varables
Procedures that create and signal conditional variables.
Mutexes
Procedures that deal with mutexes.

Threads
THREADCALL
Starts a procedure with parameters in a separate thread of execution.
THREADCREATE
Starts a procedure in a separate thread of execution.
THREADDETACH
Releases a thread handle without waiting for the thread to finish.
THREADWAIT
Waits for a thread to finish and releases the thread handle.

Conditional Variables
CONDCREATE
Creates a conditional variable.
CONDWAIT
Pauses execution of a threaded procedure.
CONDSIGNAL
Resumes execution of a threaded procedure waiting for a conditional.
CONDBROADCAST
Resumes all threaded procedures waiting for a conditional.
CONDDESTROY
Destroys a conditional variable that is no longer needed.
Mutexes
MUTEXCREATE
Creates a mutex.
MUTEXLOCK
Acquires a lock on a mutex.
MUTEXUNLOCK
Releases a lock on a mutex.
MUTEXDESTROY
Destroys a mutex that is no longer needed.
 

Platform Differences:
Back to Table of Contents
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode