Debian Codegraph @

libphobos/libdruntime/core/sys/openbsd/pthread_np.d

raw
1 /**
2 * D header file for OpenBSD pthread_np.h.
3 *
4 * Copyright: Copyright © 2021, The D Language Foundation
5 * License: <a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.
6 * Authors: Brian Callahan
7 */
8 module core.sys.openbsd.pthread_np;
9
10 version (OpenBSD):
11 extern (C):
12 nothrow:
13 @nogc:
14
15 public import core.sys.posix.sys.types;
16 import core.sys.posix.signal : stack_t;
17
18 int pthread_mutexattr_getkind_np(pthread_mutexattr_t);
19 int pthread_mutexattr_setkind_np(pthread_mutexattr_t*, int);
20 void pthread_get_name_np(pthread_t, char*, size_t);
21 void pthread_set_name_np(pthread_t, const(char)*);
22 int pthread_stackseg_np(pthread_t, stack_t*);
23 int pthread_main_np();