7 if(NOT TARGET libc.src.__support.OSUtil.osutil)
17 libc.include.sys_syscall
18 libc.src.__support.OSUtil.osutil
19 libc.src.__support.CPP.atomic
20 libc.src.__support.CPP.limits
21 libc.src.__support.CPP.optional
22 libc.src.__support.time.linux.abs_timeout
25 set(monotonicity_flags)
26 if (LIBC_CONF_TIMEOUT_ENSURE_MONOTONICITY)
27 set(monotonicity_flags -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY=1)
29 set(monotonicity_flags -DLIBC_COPT_TIMEOUT_ENSURE_MONOTONICITY=0)
38 libc.src.__support.threads.sleep
39 libc.src.__support.time.linux.abs_timeout
40 libc.src.__support.time.linux.monotonicity
41 libc.src.__support.CPP.optional
44 -DLIBC_COPT_RAW_MUTEX_DEFAULT_SPIN_COUNT=${LIBC_CONF_RAW_MUTEX_DEFAULT_SPIN_COUNT}
55 libc.src.__support.common
56 libc.src.__support.OSUtil.osutil
57 libc.src.__support.CPP.limits
58 libc.src.__support.threads.identifier
60 -DLIBC_COPT_RWLOCK_DEFAULT_SPIN_COUNT=${LIBC_CONF_RWLOCK_DEFAULT_SPIN_COUNT}
71 libc.src.__support.threads.mutex_common
81 libc.include.sys_syscall
84 libc.src.__support.CPP.atomic
85 libc.src.__support.CPP.stringstream
86 libc.src.__support.CPP.string_view
87 libc.src.__support.common
88 libc.src.__support.error_or
89 libc.src.__support.threads.thread_common
92 -fno-omit-frame-pointer # This allows us to sniff out the thread args from
93 # the new thread's stack reliably.
94 -Wno-frame-address # Yes, calling __builtin_return_address with a
95 # value other than 0 is dangerous. We know.
107 libc.src.__support.macros.optimization
117 libc.include.sys_syscall
118 libc.src.__support.OSUtil.osutil
119 libc.src.__support.threads.linux.futex_word_type
120 libc.src.__support.threads.mutex
121 libc.src.__support.threads.linux.raw_mutex
122 libc.src.__support.CPP.mutex