Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ barrier_destroy(3synch) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

barrier(3synch)

barrier_init(3synch)

barrier_wait(3synch)

synch(3synch)






       barrier_destroy(3synch)                      barrier_destroy(3synch)


       NAME
             barrier_destroy - destroy a blocking barrier

       SYNOPSIS
             cc [options] -Kthread file
             #include <synch.h>
             int barrier_destroy(barrier_t *barrier);

          Parameters
             barrier
                    pointer to barrier to be destroyed

       DESCRIPTION
             barrier_destroy destroys the barrier pointed to by barrier.
             This includes invalidating the barrier and freeing any
             associated implementation-allocated dynamic resources.

             Any user-allocated dynamic storage is unaffected by
             barrier_destroy and must be explicitly released by the
             program.

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

          Errors
             If one of the following conditions is detected,
             barrier_destroy returns the corresponding value:

             EBUSY    A thread is still waiting at the barrier.

             EINVAL   Invalid argument specified.

       REFERENCES
             barrier(3synch), barrier_init(3synch), barrier_wait(3synch),
             synch(3synch)












                           Copyright 1994 Novell, Inc.               Page 1








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