#include <pthread_np.h> int
pthread_resume_np (pthread_t tid);
DESCRIPTION
The
pthread_resume_np ();
function, called on a suspended thread, causes it to resume.
If a thread specified by the
Fa tid
argument is not suspended, no actions will be performed.
RETURN VALUES
If successful,
pthread_resume_np ();
function returns 0.
Otherwise, an error number is returned to indicate the error.
ERRORS
The
pthread_resume_np ();
function will fail if:
Bq Er EINVAL
The value specified by the
Fa tid
argument is invalid.
Bq ESRC
No thread could be found corresponding to the thread ID specified by the
Fa tid
argument.