[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]


tis_cond_signal

Wakes at least one thread that is waiting on a condition variable.

Syntax

tis_cond_signal(
                cond );
 


Argument Data Type Access

cond opaque pthread_cond_t modify


C Binding

#include 

int tis_cond_signal ( pthread_cond_t *cond);

Arguments

cond
Address of the condition variable (passed by reference) on which to signal.

Description

When threads are present, this routine unblocks at least one thread waiting on the specified condition variable cond.

For more information about actions when threads are present, refer to the pthread_cond_signal description.

Return Values

If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows:
Return        Description

0 Successful completion. [EINVAL] The value specified by cond is invalid.


Associated Routines

   tis_cond_broadcast
   tis_cond_destroy
   tis_cond_init
   tis_cond_wait



[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]