Exemple #1
0
static enum ach_status
rdlock(ach_channel_t * chan, int wait, const struct timespec *reltime)
{
    if( wait ) return rdlock_wait(chan, reltime);
    else return chan_lock(chan);
}
Exemple #2
0
static void rdlock( ach_header_t *shm ) {
    rdlock_wait( shm, NULL, NULL );
}