tt_thread_procid_set(library call) tt_thread_procid_set(library call)
NAME [Toc] [Back]
tt_thread_procid_set - set the default procid for the currently active
thread
SYNOPSIS [Toc] [Back]
#include <Tt/tt_c.h>
Tt_status tt_thread_procid_set(
const char *procid);
DESCRIPTION [Toc] [Back]
The tt_thread_procid_set function sets the default procid for the
currently active thread. The default procid is an implicit argument
to most ToolTalk API calls.
ARGUMENTS [Toc] [Back]
procid Specifies the name of the procid that is to be the default
procid for the current thread.
RETURN VALUE [Toc] [Back]
Upon completion, the tt_thread_procid_set function returns the status
of the operation as one of the following Tt_status values:
TT_OK The operation completed successfully.
TT_ERR_NOMP [Toc] [Back]
The ttsession process is not running and the ToolTalk
service cannot start it.
TT_ERR_PROCID [Toc] [Back]
The current default process identifier is out of date or
invalid.
TT_ERR_UNIMP [Toc] [Back]
The ToolTalk implementation does not support multithreading.
TT_ERR_TOOLATE [Toc] [Back]
The multithreading feature has not been enabled.
APPLICATION USAGE [Toc] [Back]
None.
SEE ALSO [Toc] [Back]
Tt/tt_c.h - Tttt_c(5), tt_open(3)
- 1 - Formatted: January 24, 2005 [ Back ] |