HomeSort by: relevance | last modified time | path
    Searched defs:call_once (Results 1 - 3 of 3) sorted by relevancy

  /src/lib/libpthread/
call_once.c 1 /* $NetBSD: call_once.c,v 1.2 2019/04/24 21:41:15 kamil Exp $ */
33 __RCSID("$NetBSD: call_once.c,v 1.2 2019/04/24 21:41:15 kamil Exp $");
40 call_once(once_flag *flag, void (*func)(void)) function
47 * The call_once(3) function that conforms to C11 returns no value.
  /src/tests/lib/libpthread/
t_call_once.c 41 ATF_TC(call_once); variable
42 ATF_TC_HEAD(call_once, tc)
44 atf_tc_set_md_var(tc, "descr", "Test C11 call_once(3)");
63 call_once(&oflag, called_once);
68 ATF_TC_BODY(call_once, tc)
86 ATF_TP_ADD_TC(tp, call_once);
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Threading.h 26 // MSVC's call_once implementation worked since VS 2015, which is the minimum
33 // std::call_once from libc++ is used on all Unix platforms. Other
97 /// This type is modeled after std::once_flag to use with llvm::call_once.
113 /// call_once(flag, foo);
119 void call_once(once_flag &flag, Function &&F, Args &&... ArgList) { function in namespace:llvm
121 std::call_once(flag, std::forward<Function>(F),

Completed in 24 milliseconds