Home | History | Annotate | Download | only in Lib

Lines Matching defs:lock

37 f.lock(mode [, len [, start [, whence]]])

38 will (un)lock a region
41 (character representing type of lock)
43 r read lock
44 w write lock
46 | wait until the lock can be granted
47 ? return the first lock conflicting with the requested lock
48 or 'None' if there is no conflict. The lock returned is in the
50 character representing the type of lock ('r' or 'w')
153 def lock(self, how, *args):
159 else: raise TypeError, 'no type of lock specified'