Functions



DSThread

	public:

DSThread();

Create a thread object. The thread is not spawned until a subsequent exec() call.


detach

	public:

void detach();

Detaches a thread.


exec

	public:

int exec(void *(*start)(void *), void * arg);

Executes a thread.

Parameters

NameDescription
startThis is the name of a function to be executed when the thread initiates.
argThis is a pointer to data that the thread function will receive.

~TSThread

	public:

~DSThread();

Destroy a Thread object. If a thread has been initiated, it is not terminated.


Generated with HeaderDoc - © 2000 Apple Computer, Inc. — (Last Updated 5/10/2004)