/picolibc-3.5.0-3.4.0/newlib/libc/include/sys/ |
D | lock.h | 15 #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 …]
|
D | CMakeLists.txt | 51 lock.h
|
D | meson.build | 51 'lock.h',
|
/picolibc-3.5.0-3.4.0/test/ |
D | lock-valid.c | 56 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 …]
|
D | meson.build | 69 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/ |
D | lock.c | 93 __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 …]
|
D | CMakeLists.txt | 40 lock.c
|
D | meson.build | 40 'lock.c',
|
D | misc.tex | 43 @include misc/lock.def
|
/picolibc-3.5.0-3.4.0/newlib/libc/tinystdio/ |
D | stdio-bufio.h | 61 _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/ |
D | locking.md | 12 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 …]
|
D | embedsource.md | 3 …modules and meson subprojects work nicely together, and it is possible to lock down the libc versi…
|
D | build.md | 184 need to lock the shared global data structure if they may be called
|
/picolibc-3.5.0-3.4.0/newlib/ |
D | NEWS | 94 - unification of lock object names 175 * I/O lock clean-up
|
D | newlib.hin | 381 /* Define if using retargetable functions for default lock routines. */
|
D | ChangeLog-2015 | 68 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/ |
D | README | 78 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/ |
D | README.md | 218 mutex in the tinystdio bufio code. These were found with lock 306 5. Initialize lock in fdopen
|
D | COPYING.picolibc | 732 test/lock-valid.c 2840 newlib/libc/include/sys/lock.h 2997 Files: newlib/libc/misc/lock.c
|