Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 19 of 19) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/libc/include/sys/
Dlock.h15 #define __LOCK_INIT(lock) argument
16 #define __LOCK_INIT_RECURSIVE(lock) argument
17 #define __lock_init(lock) ((void) 0) argument
18 #define __lock_init_recursive(lock) ((void) 0) argument
19 #define __lock_close(lock) ((void) 0) argument
20 #define __lock_close_recursive(lock) ((void) 0) argument
21 #define __lock_acquire(lock) ((void) 0) argument
22 #define __lock_acquire_recursive(lock) ((void) 0) argument
23 #define __lock_try_acquire(lock) ((void) 0) argument
24 #define __lock_try_acquire_recursive(lock) ((void) 0) argument
[all …]
DCMakeLists.txt51 lock.h
Dmeson.build51 'lock.h',
/picolibc-3.5.0-3.4.0/test/
Dlock-valid.c56 void __retarget_lock_init(_LOCK_T *lock) in __retarget_lock_init() argument
59 *lock = &locks[lock_id++]; in __retarget_lock_init()
60 **lock = 0; in __retarget_lock_init()
64 void __retarget_lock_init_recursive(_LOCK_T *lock) in __retarget_lock_init_recursive() argument
66 *lock = &locks[lock_id++]; in __retarget_lock_init_recursive()
67 **lock = 0; in __retarget_lock_init_recursive()
71 void __retarget_lock_close(_LOCK_T lock) in __retarget_lock_close() argument
73 assert(*lock == 0); in __retarget_lock_close()
77 void __retarget_lock_close_recursive(_LOCK_T lock) in __retarget_lock_close_recursive() argument
79 assert(*lock == 0); in __retarget_lock_close_recursive()
[all …]
Dmeson.build69 executable(t1_name, ['printf_scanf.c', 'lock-valid.c'],
87 executable(t1_name, ['printf_scanf.c', 'lock-valid.c'],
105 executable(t1_name, ['printf-tests.c', 'lock-valid.c'],
122 executable(t1_name, ['printf-tests.c', 'lock-valid.c'],
139 executable(t1_name, ['printf-tests.c', 'lock-valid.c'],
163 executable(t1_name, ['time-sprintf.c', 'lock-valid.c'],
180 executable(t1_name, ['try-ilp32.c', 'try-ilp32-sub.c', 'lock-valid.c'],
197 executable(t1_name, ['hosted-exit.c', 'lock-valid.c'],
207 executable(t1_name + '-fail', ['hosted-exit.c', 'lock-valid.c'],
226 executable(t1_name, ['abort.c', 'lock-valid.c'],
[all …]
/picolibc-3.5.0-3.4.0/newlib/libc/misc/
Dlock.c93 __retarget_lock_init (_LOCK_T *lock) in __retarget_lock_init() argument
95 (void) lock; in __retarget_lock_init()
99 __retarget_lock_init_recursive(_LOCK_T *lock) in __retarget_lock_init_recursive() argument
101 (void) lock; in __retarget_lock_init_recursive()
105 __retarget_lock_close(_LOCK_T lock) in __retarget_lock_close() argument
107 (void) lock; in __retarget_lock_close()
111 __retarget_lock_close_recursive(_LOCK_T lock) in __retarget_lock_close_recursive() argument
113 (void) lock; in __retarget_lock_close_recursive()
117 __retarget_lock_acquire (_LOCK_T lock) in __retarget_lock_acquire() argument
119 (void) lock; in __retarget_lock_acquire()
[all …]
DCMakeLists.txt40 lock.c
Dmeson.build40 'lock.c',
Dmisc.tex43 @include misc/lock.def
/picolibc-3.5.0-3.4.0/newlib/libc/tinystdio/
Dstdio-bufio.h61 _LOCK_T lock; member
87 __lock_init(((struct __file_bufio *) f)->lock); in __bufio_lock_init()
92 __lock_release(((struct __file_bufio *) f)->lock); in __bufio_lock_close()
93 __lock_close(((struct __file_bufio *) f)->lock); in __bufio_lock_close()
98 __lock_acquire(((struct __file_bufio *) f)->lock); in __bufio_lock()
103 __lock_release(((struct __file_bufio *) f)->lock); in __bufio_unlock()
/picolibc-3.5.0-3.4.0/doc/
Dlocking.md12 Picolibc has a single global lock for APIs that share global
67 This is the single global lock used for most libc locking. It must be
71 ### `void __retarget_lock_init(_LOCK_T *lock)`
73 This is used by tinystdio to initialize the lock in a newly allocated
76 ### `void __retarget_lock_acquire(_LOCK_T lock)`
80 ### `void __retarget_lock_release(_LOCK_T lock)`
84 ### `void __retarget_lock_close(_LOCK_T lock)`
86 This is used by tinystdio to de-initialize a lock from a FILE which is
89 ### `void __retarget_lock_init_recursive(_LOCK_T *lock)`
91 This is used by the legacy stdio code to initialize the lock in a
[all …]
Dembedsource.md3 …modules and meson subprojects work nicely together, and it is possible to lock down the libc versi…
Dbuild.md184 need to lock the shared global data structure if they may be called
/picolibc-3.5.0-3.4.0/newlib/
DNEWS94 - unification of lock object names
175 * I/O lock clean-up
Dnewlib.hin381 /* Define if using retargetable functions for default lock routines. */
DChangeLog-201568 lock before return.
552 * libc/sys/rtems/include/sys/lock.h (__LOCK_INIT_RECURSIVE): Use
580 * libc/sys/rtems/include/sys/lock.h: New.
845 TZ lock.
1854 * libc/sys/tirtos/Makefile.am, libc/sys/tirtos/lock.c: New files.
1855 * libc/sys/tirtos/configure.in, libc/sys/tirtos/include/sys/lock.h: Ditto.
3883 * libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.
4341 * libc/stdio/fclose.c: Only use sfp lock to guard non-atomic
4342 changes of flags and fp lock.
4360 new function __sflush_r. Just lock file and call __sflush_r from here.
[all …]
/picolibc-3.5.0-3.4.0/newlib/libc/sys/rtems/include/
DREADME78 sed -i 's,newlib/libc/sys/rtems/include/sys/lock.h,rtemsbsd/include/machine/_kernel_lock.h,g' *.pat…
/picolibc-3.5.0-3.4.0/
DREADME.md218 mutex in the tinystdio bufio code. These were found with lock
306 5. Initialize lock in fdopen
DCOPYING.picolibc732 test/lock-valid.c
2840 newlib/libc/include/sys/lock.h
2997 Files: newlib/libc/misc/lock.c