Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
mtlock.h File Reference
#include <cray/libuni.h>
Include dependency graph for mtlock.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DECL_LOCK(name)   plock_t name; /* static initialized to 0 */
#define DECL_MPP_LOCK(name)   mpplock_t name; /* static initialized to 0 */
#define EXTERN_LOCK(name)   extern plock_t name;
#define EXTERN_MPP_LOCK(name)   extern mpplock_t name;
#define MULTI_ON   0
#define MEM_LOCK(lock)
#define MEM_UNLOCK(lock)
#define LMEM_LOCK(lock)   MEM_LOCK(lock)
#define LMEM_UNLOCK(lock)   MEM_UNLOCK(lock)
#define MPP_LOCK(lock)
#define MPP_UNLOCK(lock)
#define LIB_LOCK(index)
#define LIB_UNLOCK(index)
#define ENVIRON_LOCK   0 /* Environment lock */
#define TRACEBACK_LOCK   1 /* Traceback lock */
#define MESSAGE_LOCK   2 /* Message system lock */
#define LIB_LOCK_MAX   64 /* Size of lock array */
#define SIGNBIT   (1<<63)
#define SHARED_CC_BUG_WORKAROUND(name)

Typedefs

typedef volatile long plock_t
typedef long mpplock_t

Define Documentation

#define DECL_LOCK (   name)    plock_t name; /* static initialized to 0 */

Definition at line 89 of file mtlock.h.

#define DECL_MPP_LOCK (   name)    mpplock_t name; /* static initialized to 0 */

Definition at line 90 of file mtlock.h.

#define ENVIRON_LOCK   0 /* Environment lock */

Definition at line 199 of file mtlock.h.

#define EXTERN_LOCK (   name)    extern plock_t name;

Definition at line 91 of file mtlock.h.

#define EXTERN_MPP_LOCK (   name)    extern mpplock_t name;

Definition at line 92 of file mtlock.h.

#define LIB_LOCK (   index)

Definition at line 191 of file mtlock.h.

#define LIB_LOCK_MAX   64 /* Size of lock array */

Definition at line 202 of file mtlock.h.

#define LIB_UNLOCK (   index)

Definition at line 192 of file mtlock.h.

#define LMEM_LOCK (   lock)    MEM_LOCK(lock)

Definition at line 156 of file mtlock.h.

#define LMEM_UNLOCK (   lock)    MEM_UNLOCK(lock)

Definition at line 157 of file mtlock.h.

#define MEM_LOCK (   lock)

Definition at line 136 of file mtlock.h.

Referenced by _alloc_unit(), _clruptr(), _do_open(), _f_open(), _get_cup(), _get_next_unit(), and _setuptr().

#define MEM_UNLOCK (   lock)

Definition at line 137 of file mtlock.h.

Referenced by _clruptr(), _CLS(), _do_open(), _get_cup(), _setuptr(), and _unit_close().

#define MESSAGE_LOCK   2 /* Message system lock */

Definition at line 201 of file mtlock.h.

#define MPP_LOCK (   lock)

Definition at line 174 of file mtlock.h.

Referenced by _ferr().

#define MPP_UNLOCK (   lock)

Definition at line 175 of file mtlock.h.

#define MULTI_ON   0

Definition at line 105 of file mtlock.h.

Definition at line 343 of file mtlock.h.

#define SIGNBIT   (1<<63)

Definition at line 230 of file mtlock.h.

#define TRACEBACK_LOCK   1 /* Traceback lock */

Definition at line 200 of file mtlock.h.


Typedef Documentation

typedef long mpplock_t

Definition at line 76 of file mtlock.h.

typedef volatile long plock_t

Definition at line 74 of file mtlock.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines