Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cond_signal(3synch) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

condition(3synch)

cond_broadcast(3synch)

cond_destroy(3synch)

cond_init(3synch)

cond_signal(3synch)

cond_timedwait(3synch)

cond_wait(3synch)

synch(3synch)






       cond_signal(3synch)                              cond_signal(3synch)


       NAME
             cond_signal - wake up a single thread waiting on a condition
             variable

       SYNOPSIS
             cc [options] -Kthread file
             #include <synch.h>
             int cond_signal(cond_t *cond);

          Parameters
             cond    pointer to condition variable to be signaled

       DESCRIPTION
             cond_signal wakes up a single thread, if one exists, waiting
             on the condition cond.  If more than one thread is waiting,
             the choice of which to release from the blocked group is
             scheduling policy-specific for bound threads, and may be
             dependent on scheduling parameters for multiplexed threads.

             cond_signal has no effect if there are no threads waiting on
             cond.

             A cond_signal will be more reliable if the associated mutex
             used by waiters is held across the call.

          cond Parameter
             The condition variable denoted by cond must previously have
             been initialized (see cond_init).

          Return Values
             cond_signal returns zero for success and an error number for
             failure, as described below.

          Errors
             If any of the following conditions is detected, cond_signal
             returns the corresponding value:

             EINVAL   Invalid argument specified.

       USAGE
             See the description of how to use condition variables under
             USAGE on cond_init(3synch).

       REFERENCES
             condition(3synch), cond_broadcast(3synch),
             cond_destroy(3synch), cond_init(3synch),


                           Copyright 1994 Novell, Inc.               Page 1













      cond_signal(3synch)                              cond_signal(3synch)


            cond_timedwait(3synch), cond_wait(3synch), synch(3synch)















































                          Copyright 1994 Novell, Inc.               Page 2








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026