Home
last modified time | relevance | path

Searched refs:need_locks (Results 1 - 25 of 32) sorted by relevance

12

/third_party/musl/src/thread/
H A D__lock.c21 int need_locks = libc.need_locks; in __lock() local
22 if (!need_locks) return; in __lock()
25 if (need_locks < 0) libc.need_locks = 0; in __lock()
H A Dpthread_create.c125 * resetting need_locks below. */ in __pthread_exit()
156 if (!--libc.threads_minus_1) libc.need_locks = -1; in __pthread_exit()
363 if (!libc.threads_minus_1++) libc.need_locks = 1; in __pthread_create()
387 if (!--libc.threads_minus_1) libc.need_locks = 0; in __pthread_create()
/third_party/musl/src/process/
H A Dfork.c52 int need_locks = libc.need_locks > 0; in fork() local
53 if (need_locks) { in fork()
66 if (need_locks) { in fork()
H A D_Fork.c36 if (libc.need_locks) libc.need_locks = -1; in __post_Fork()
/third_party/musl/porting/linux/user/src/process/
H A D_Fork.c36 if (libc.need_locks) libc.need_locks = -1; in _Fork()
/third_party/musl/porting/liteos_a/user/src/process/
H A D_Fork.c32 if (libc.need_locks) libc.need_locks = -1; in _Fork()
/third_party/musl/porting/liteos_a/user/src/thread/
H A Dpthread_create.c123 if (!--libc.threads_minus_1) libc.need_locks = -1; in __pthread_exit()
340 if (!libc.threads_minus_1++) libc.need_locks = 1; in __pthread_create()
364 if (!--libc.threads_minus_1) libc.need_locks = 0; in __pthread_create()
/third_party/musl/src/thread/liteos_a/
H A Dpthread_create.c123 if (!--libc.threads_minus_1) libc.need_locks = -1; in __pthread_exit()
340 if (!libc.threads_minus_1++) libc.need_locks = 1; in __pthread_create()
364 if (!--libc.threads_minus_1) libc.need_locks = 0; in __pthread_create()
/third_party/musl/src/malloc/oldmalloc/
H A Dmalloc.c36 int need_locks = libc.need_locks; in lock() local
37 if (need_locks) { in lock()
39 if (need_locks < 0) libc.need_locks = 0; in lock()
/third_party/musl/porting/liteos_a/user/src/malloc/oldmalloc/
H A Dmalloc.c32 int need_locks = libc.need_locks; in lock() local
33 if (need_locks) { in lock()
35 if (need_locks < 0) libc.need_locks = 0; in lock()
/third_party/musl/porting/liteos_a/user_debug/src/malloc/oldmalloc/
H A Dmalloc.c34 int need_locks = libc.need_locks; in lock() local
35 if (need_locks) { in lock()
37 if (need_locks < 0) libc.need_locks = 0; in lock()
/third_party/musl/porting/linux/user/src/internal/
H A Dlibc.h40 volatile signed char need_locks; member
/third_party/musl/porting/liteos_a/user/src/internal/
H A Dlibc.h24 volatile signed char need_locks; member
/third_party/musl/src/internal/
H A Dlibc.h26 volatile signed char need_locks; member
/third_party/musl/src/thread/linux/
H A Dpthread_create.c266 * resetting need_locks below. */ in __pthread_exit()
297 if (!--libc.threads_minus_1) libc.need_locks = -1; in __pthread_exit()
549 if (!libc.threads_minus_1++) libc.need_locks = 1; in __pthread_create()
575 if (!--libc.threads_minus_1) libc.need_locks = 0; in __pthread_create()
/third_party/musl/porting/linux/user/src/thread/
H A Dpthread_create.c235 if (!--libc.threads_minus_1) libc.need_locks = -1; in __pthread_exit()
485 if (!libc.threads_minus_1++) libc.need_locks = 1; in __pthread_create()
511 if (!--libc.threads_minus_1) libc.need_locks = 0; in __pthread_create()
/third_party/musl/src/malloc/mallocng/
H A Dglue.h57 #define MT (libc.need_locks)
/third_party/libabigail/
H A Dltmain.sh2122 need_locks=no
2128 if test "$need_locks" = yes; then
2133 elif test "$need_locks" = warn; then
2184 if test "$need_locks" = warn &&
2233 if test "$need_locks" = warn &&
2264 if test "$need_locks" != no; then
/third_party/skia/third_party/externals/microhttpd/
H A Dltmain.sh2142 need_locks=no
2148 if test "$need_locks" = yes; then
2153 elif test "$need_locks" = warn; then
2204 if test "$need_locks" = warn &&
2253 if test "$need_locks" = warn &&
2284 if test "$need_locks" != no; then
/third_party/eudev/
H A Dltmain.sh3505 need_locks=no
3511 if test yes = "$need_locks"; then
3516 elif test warn = "$need_locks"; then
3567 if test warn = "$need_locks" &&
3616 if test warn = "$need_locks" &&
3647 if test no != "$need_locks"; then
/third_party/curl/
H A Dltmain.sh3703 need_locks=no
3709 if test yes = "$need_locks"; then
3714 elif test warn = "$need_locks"; then
3765 if test warn = "$need_locks" &&
3814 if test warn = "$need_locks" &&
3845 if test no != "$need_locks"; then
/third_party/lame/
H A Dltmain.sh3458 need_locks=no
3464 if test yes = "$need_locks"; then
3469 elif test warn = "$need_locks"; then
3520 if test warn = "$need_locks" &&
3569 if test warn = "$need_locks" &&
3600 if test no != "$need_locks"; then
/third_party/node/deps/cares/
H A Dltmain.sh3703 need_locks=no
3709 if test yes = "$need_locks"; then
3714 elif test warn = "$need_locks"; then
3765 if test warn = "$need_locks" &&
3814 if test warn = "$need_locks" &&
3845 if test no != "$need_locks"; then
/third_party/node/deps/cares/config/
H A Dltmain.sh3703 need_locks=no
3709 if test yes = "$need_locks"; then
3714 elif test warn = "$need_locks"; then
3765 if test warn = "$need_locks" &&
3814 if test warn = "$need_locks" &&
3845 if test no != "$need_locks"; then
/third_party/libevdev/build-aux/
H A Dltmain.sh3704 need_locks=no
3710 if test yes = "$need_locks"; then
3715 elif test warn = "$need_locks"; then
3766 if test warn = "$need_locks" &&
3815 if test warn = "$need_locks" &&
3846 if test no != "$need_locks"; then

Completed in 79 milliseconds

12