core/linux/os.c
/* FIXME: this routine will need to have a macro wrapper to let us assign different ranks to 
 * all events for DEADLOCK_AVOIDANCE.  Currently a single rank seems to work.
 */
this routine will need to have a macro wrapper to let us assign different ranks to
all events for DEADLOCK_AVOIDANCE.  Currently a single rank seems to work.
this routine will need to have a macro wrapper to let us assign different ranks to all events for DEADLOCK_AVOIDANCE . Currently a single rank seems to work .
event_t
create_event()
{
    event_t e = (event_t) global_heap_alloc(sizeof(linux_event_t) HEAPACCT(ACCT_OTHER));
    e->signaled = false;
    ASSIGN_INIT_LOCK_FREE(e->lock, event_lock); 
    return e;
}
event_t create_event ( ) { event_t e = ( event_t ) global_heap_alloc ( sizeof ( linux_event_t ) HEAPACCT ( ACCT_OTHER ) ) ; e -> signaled = false ; ASSIGN_INIT_LOCK_FREE ( e -> lock , event_lock ) ; return e ; }
FIXME: this routine will need to have a macro wrapper to let us assign different ranks to
 all events for DEADLOCK_AVOIDANCE.
FIXME : this routine will need to have a macro wrapper to let us assign different ranks to all events for DEADLOCK_AVOIDANCE .
/* FIXME: we'll need to pass the event name here */