Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 16 of 16) sorted by relevance

/libuv/test/
H A Dtest-condvar.c30 typedef void (*signal_func)(struct worker_config* c, int* flag);
31 typedef int (*wait_func)(struct worker_config* c, const int* flag);
82 static void condvar_signal(worker_config* c, int* flag) { in condvar_signal() argument
90 ASSERT_OK(*flag); in condvar_signal()
91 *flag = 1; in condvar_signal()
106 static int condvar_wait(worker_config* c, const int* flag) { in condvar_wait() argument
115 } while (*flag == 0); in condvar_wait()
116 ASSERT_EQ(1, *flag); in condvar_wait()
166 static int condvar_timedwait(worker_config* c, const int* flag) { in condvar_timedwait() argument
180 } while (*flag == 0); in condvar_timedwait()
[all …]
/libuv/m4/
H A Dlibuv-check-flags.m436 dnl Check if the flag is supported by compiler
53 dnl Check if the flag is supported by compiler (cacheable)
57 AC_CACHE_CHECK([if $CC supports $1 flag],
69 AC_CACHE_CHECK([if $CC supports $1 flag],
82 for flag in $1; do
83 CC_CHECK_CFLAG_APPEND($flag, [$2], [$3])
87 dnl Check if the flag is supported by linker (cacheable)
91 AC_CACHE_CHECK([if $CC supports $1 flag],
107 dnl Check if flag is supported by both compiler and linker
146 dnl Check for a -Werror flag or equivalent. -Werror is the GCC
[all …]
H A Dax_pthread.m4252 # Clang takes -pthread; it has never supported any other flag
280 # flag that is used only in the compilation phase and not in
283 # Even though use of the -pthread flag in linking would only print
288 …AC_CACHE_CHECK([whether Clang needs flag to prevent "argument unused" warning when linking with -p…
362 # need a special flag -Kthread to make this header compile.)
/libuv/docs/src/
H A Dfs_event.rst73 * flag does not affect individual files watched.
74 * This flag is currently not implemented yet on any backend.
80 * as NFS mounts. This flag makes fs_event fall back to calling stat() on a
82 * This flag is currently not implemented yet on any backend.
88 * This flag will override this behaviour on platforms that support it.
114 .. note:: Currently the only supported flag is ``UV_FS_EVENT_RECURSIVE`` and
H A Dudp.rst37 * This sets the SO_REUSEPORT socket flag on the BSDs (except for
41 * SO_REUSEADDR flag. What that means is that multiple threads or
43 * they all set the flag) but only the last one to bind will receive
63 * This flag is no-op on platforms other than Linux.
69 * Unlike UV_UDP_REUSEADDR, this flag will make multiple threads or
74 * This flag is available only on Linux 3.9+, DragonFlyBSD 3.6+,
116 .. versionchanged:: 1.40.0 added the `UV_UDP_MMSG_FREE` flag.
174 .. versionchanged:: 1.37.0 added the `UV_UDP_RECVMMSG` flag.
208 .. versionchanged:: 1.49.0 added the ``UV_UDP_REUSEPORT`` flag.
311 Set IP multicast loop flag. Makes multicast packets loop back to
[all …]
H A Dpipe.rst27 Only a connected pipe that will be passing the handles should have this flag
41 passing the handles should have this flag set, not the listening pipe
82 flag is specified, in which case an ``UV_EINVAL`` error is returned.
112 flag is specified, in which case an ``UV_EINVAL`` error is returned.
180 Equivalent to :man:`pipe(2)` with the `O_CLOEXEC` flag set.
H A Dtcp.rst35 * This flag is available only on Linux 3.9+, DragonFlyBSD 3.6+,
128 .. versionchanged:: 1.49.0 added the ``UV_TCP_REUSEPORT`` flag.
131 ``UV_TCP_REUSEPORT`` flag is available only on Linux 3.9+, DragonFlyBSD 3.6+,
H A Dprocess.rst193 ``UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS`` flag on :c:enum:`uv_process_flags`.
273 `UV_PROCESS_WINDOWS_FILE_PATH_EXACT_NAME` flag.
H A Ddesign.rst85 * If the loop was run with the ``UV_RUN_NOWAIT`` flag, the timeout is 0.
H A Dthreading.rst86 `0` indicates that the default value should be used, i.e. behaves as if the flag was not set.
H A Dfs.rst603 If the `O_CREAT` flag is set and the file already exists, fail the open.
623 Use a memory file mapping to access the file. When using this flag, the
/libuv/
H A DREADME.md223 "ARCHS" flag. You can specify more than one by delimiting with a space
314 It is recommended to turn on the `-fno-strict-aliasing` compiler flag in
319 MSVC does not have an equivalent flag but it also does not appear to need it
334 …bmruntimes/zoslib) to be installed. When building with [CMake][], use the flag `-DZOSLIB_DIR` to s…
H A Dconfigure.ac32 # Xlc has a flag "-f<filename>". Need to use CC_CHECK_FLAG_SUPPORTED_APPEND so
H A DChangeLog480 * unix,win: add UV_PIPE_NO_TRUNCATE flag (Ben Noordhuis)
531 * unix,win: remove UV_HANDLE_SHUTTING flag (Santiago Gimeno)
1381 * udp: add UV_UDP_MMSG_FREE recv_cb flag (Ryan Liptak)
1704 * linux: assume presence of SOCK_CLOEXEC flag (Ben Noordhuis)
2032 * build,zos: add _OPEN_SYS_SOCK_EXT3 flag (Santiago Gimeno)
2101 * unix: clear UV_HANDLE_READING flag before callback (zyxwvu Shi)
4721 * unix: add flag for blocking SIGPROF during poll (Ben Noordhuis)
4869 * build: add m4 for feature/flag-testing (Recep ASLANTAS)
5357 * doc: adding ARCHS flag to OS X build command (Nathan Sweet)
5453 * include: UV_FS_EVENT_RECURSIVE is a flag (Fedor Indutny)
[all …]
/libuv/docs/src/guide/
H A Dnetworking.rst127 server that replies. We use the UV_UDP_REUSEADDR flag to play nice with any
132 It is **necessary** to set the broadcast flag, otherwise you will get an
166 restrict the socket to IPv6 only, pass the ``UV_UDP_IPV6ONLY`` flag to
H A Dprocesses.rst105 Passing the flag ``UV_PROCESS_DETACHED`` can be used to launch daemons, or
264 read/write flag is from the perspective of the child process. In this case,
276 `UV_CREATE_PIPE` flag, it opts for creating a `socketpair(2)`_.

Completed in 32 milliseconds