Annotation of coherent/f/usr/man/KERNEL/lock, revision 1.1.1.1

1.1       root        1: lloocckk() -- Accessible Kernel Routine
                      2: 
                      3: #iinncclluuddee <ssyyss/ttyyppeess.hh>
                      4: vvooiidd
                      5: lloocckk(_g)
                      6: GGAATTEE _g;
                      7: 
                      8: lloocckk() waits for  the gate _g to unlock, then  locks it.  When the gate of a
                      9: system resource is locked, no  other processes can use the resource.  Gates
                     10: must be  in the kernel's  data segment, not  on the stack.   Because it may
                     11: call sslleeeepp(), lloocckk() must _n_e_v_e_r  be called from an interrupt handler, block
                     12: routine, deferred function, or timed function.
                     13: 
                     14: _S_e_e _A_l_s_o
                     15: aacccceessssiibbllee kkeerrnneell rroouuttiinneess

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.