a0DetachSlave()

Informs that a slave will not be waited.


Syntax

a0tError a0DetachSlave(
a0tThread *thread );

Arguments

Namerd/wrDescription
thread write Address of the slave thread desciptor.

Description

This function tells to the threads kernel that the slave thread thread will not be waited for. The function a0JoinSlave will not be expected to be used and all structures allocated to the slave thread will be freed as soon it terminates.


Return Values

If an error condition occurs, it returns the error code, otherwise it returns A0ErrOk. Possible values are as follows:
Error CodeDescription
A0ErrInvThread The thread descriptor is invalid.
A0ErrOkSuccessful completion.

See Also

a0JoinSlave() a0NewSlave() a0ExitThread()