Global Variables
and Macros
Initialization
General Segment
Operations
Sequential-Access
Segment Operations
Event Operations
Sequencer Operations
Command Line Parameters
![]()
This section describes global variables or macros that are available to Unify workers.
Create_Segment allocates a segment and returns a globally unique segment identifier. On return, the segment is allocated in the physical memory of the issuing process.
Create_Segment returns the identifier of the allocated segment on success or -1 on failure.
Get_Updates returns 0 on success or -1 if the segment is invalid.
int Get_Updates_LL(int seg_id)
Get_Updates_LL returns 0 on success or -1 if the segment is invalid.
int Release_LL(int seg_id)
Need_Updates returns 0 on success or -1 if the segment is invalid.
Dont_Need_Updates returns 0 on success or -1 if the segment is invalid.
Put_Updates returns 0 on success or -1 if the segment is invalid.
Seq_Write returns 0 on success and -1 if the segment is invalid or not sequential-access.
Seq_Read returns the number of bytes read on success and -1 if the segment is not vaild or not sequential-access.
int Seq_Read_Nb(int seg_id,char *buff,int len)
Seq_Read_Nb returns the number of bytes read on success and -1 if the segment is not vaild or not sequential-access.
Seq_Wakeup returns 0 on success and -1 if the segment is invalid or not sequential-access.
Create_Event returns the identifier of the allocated event on success or -1 on failure.
Advance returns the new local count of the event on success and returns -1 if the event identifier is invalid.
Await returns 0 on success and -1 if the event is invalid.
int Get_Ticket(int sequencer_id)
-c enable checkpointing
-d specifies debugging statements to be generated
-e specifies error messages to be generated
-f flushes messages as they are generated
-h this message
-v restart execution from a checkpoint
-m # maximum amount of memory to grab as the global address space.
-n # specifies the number of nodes in which to start
-t # initial frame timeout (in seconds)
-checkpoint enable checkpointing
-recover recover from a checkpoint
-noheartbeat disable heartbeat timeouts