开发者ID:tonchis,项目名称:scrabel,代码行数:12,代码来源:RWLock_test.cpp 示例4: enviar_tablero ▲点赞 1▼ intenviar_tablero(intsocket_fd){charbuf[MENSAJE_MAXIMO+1];sprintf(buf,"STATUS ");intpos =7; escribiendo.rlock();for(unsignedintfila =0; fila < alto; ++fila) {for(unsignedintcol ...
s32sys_rwlock_rlock(u32 rw_lock_id, u64 timeout){ sys_rwlock.Log("sys_rwlock_rlock(rw_lock_id=%d, timeout=%lld)", rw_lock_id, timeout); RWLock* rw;if(!sys_rwlock.CheckId(rw_lock_id, rw))returnCELL_ESRCH;constu32 tid = GetCurrentPPUThread().GetId();if(rw->rlock_trylock(...