示例#1
0
文件: ach_klinux.c 项目: golems/ach
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);
}
示例#2
0
文件: ach.c 项目: petevieira/ach
static void rdlock( ach_header_t *shm ) {
    rdlock_wait( shm, NULL, NULL );
}