|
|
coherent
lloocckk() -- Accessible Kernel Routine #iinncclluuddee <ssyyss/ttyyppeess.hh> vvooiidd lloocckk(_g) GGAATTEE _g; lloocckk() waits for the gate _g to unlock, then locks it. When the gate of a system resource is locked, no other processes can use the resource. Gates must be in the kernel's data segment, not on the stack. Because it may call sslleeeepp(), lloocckk() must _n_e_v_e_r be called from an interrupt handler, block routine, deferred function, or timed function. _S_e_e _A_l_s_o aacccceessssiibbllee kkeerrnneell rroouuttiinneess
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.