upc_global_lock_alloc

Date:

09-23-2013

NAME

upc_global_lock_alloc - Dynamically allocates a lock

SYNOPSIS

#include <upc.h>

upc_lock_t *upc_global_lock_alloc(void);

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

The upc_global_lock_alloc function dynamically allocates a lock and returns a pointer to it. The lock is created in an unlocked state. This is not a collective function. If it is called by multiple threads, all threads that make the call get different allocations.

SEE ALSO

upc_all_lock_alloc(3c), upc_lock(3c), upc_lock_attempt(3c), upc_lock_free(3c), upc_lock_t(3c), upc_unlock(3c)