Searched refs:locks (Results 1 – 3 of 3) sorted by relevance
59 static struct __lock locks[MAX_LOCKS]; variable70 *lock = &locks[lock_id]; in __retarget_lock_init()87 int lock_id = lock - locks; in __retarget_lock_close()131 assert(locks[i].val == 0); in lock_validate()
21 Tinystdio (the default stdio) uses per-file locks for the buffered22 POSIX file backend, but it doesn't require any locks for the bulk of27 locks for every operation.
4345 * libc/stdio/fgetc.c: Revert change from 2009-04-24, remove sfp locks