thr_continue(3thread) thr_continue(3thread)
NAME
thr_continue - continue the execution of a suspended thread
SYNOPSIS
cc [options] -Kthread file
#include <thread.h>
int thr_continue(thread_t target_thread);
Parameters
target_thread thread ID of the thread to be continued
DESCRIPTION
thr_continue makes target_thread runnable. target_thread is
the ID of a thread previously suspended with
thr_suspend(3thread) or created suspended with
thr_create(3thread). If target_thread is not suspended,
thr_continue will have no effect.
Return Values
thr_continue returns zero for success and an error number for
failure, as described below.
Errors
If any of the following conditions occurs, thr_continue
returns the corresponding value:
ESRCH target_thread cannot be found in the current process
REFERENCES
_lwp_continue(2), _lwp_suspend(2), thr_create(3thread),
thr_suspend(3thread), thread(3thread)
Copyright 1994 Novell, Inc. Page 1