Defines | |
#define | join_lock_to_thread(_t, _m) ((thread_t) (((char*)(_m)) - ( ((char*)&(_t)->join_mutex) - ((char*)(_t)) ) )) |
dirty hack : compute thread_t address from thread->join_mutex address. requires a local thread_t variable. | |
Functions | |
void _VM_CALL | vm_op_newThread_Label (vm_t vm, word_t rel_ofs) |
void _VM_CALL | vm_op_getPid (vm_t vm, word_t unused) |
void _VM_CALL | vm_op_newMtx (vm_t vm, word_t unused) |
void _VM_CALL | vm_op_lockMtx_Int (vm_t vm, long memcell) |
void _VM_CALL | vm_op_unlockMtx_Int (vm_t vm, long memcell) |
void _VM_CALL | vm_op_lockMtx (vm_t vm, word_t unused) |
void _VM_CALL | vm_op_unlockMtx (vm_t vm, word_t unused) |
void _VM_CALL | vm_op_joinThread (vm_t vm, word_t unused) |
void _VM_CALL | vm_op_killThread (vm_t vm, word_t unused) |
void _VM_CALL | vm_op_yield (vm_t vm, word_t unused) |
#define join_lock_to_thread | ( | _t, | |||
_m | ) | ((thread_t) (((char*)(_m)) - ( ((char*)&(_t)->join_mutex) - ((char*)(_t)) ) )) |
dirty hack : compute thread_t address from thread->join_mutex address. requires a local thread_t variable.