ODTUNLOCK(1) Xinu Programmer's Manual ODTUNLOCK(1) NAME odtunlock - release lock on a tty line SYNOPSIS odtunlock [ -cclass ] [ -lx ] DESCRIPTION _O_d_t_u_n_l_o_c_k releases the caller's currently reserved microcom- puter, making it available for others to use. Mutual exclu- sion locks are created automatically by _o_d_t and _d_o_w_n_l_o_a_d, and are reported by _l_u_s_e_r_s. Reservations may expire after some idle time even if _o_d_t_u_n_l_o_c_k is not used (see default timeout values set in Xinu-directory/lib/machines). Without arguments, _o_d_t_u_n_l_o_c_k removes the reservation on the tty line most recently accessed by the caller. Argument -c can be used to specify a _c_l_a_s_s, in which case _o_d_t_u_n_l_o_c_k removes the user's most recently held reservation in that class. Argument -lx forces _o_d_t_u_n_l_o_c_k to cancel the reserva- tion on line number _x within the selected class. Xinu's tty reservation system is a friendly, cooperative mutual-exclusion mechanism. All software that accesses tty lines for communicating with back-end microcomputers is expected to adhere to the reservation system to prevent mul- tiple users from trying to access the same machine simul- taneously. FILES /dev/CLASS.i tty lines for a particular class. /tmp/xinu/ulock._u_s_e_rrecords current line allocated by _u_s_e_r /tmp/xinu/_c_n_a_m_e._iLock file for line _i in class _c_n_a_m_e. {Xinu-directory}/lib/machinesdatabase listing parameters for all machines SEE ALSO lusers(1), odt(1), download(1), upload(1) Version 6b Printed 1/12/87 1