This repository was archived by the owner on Oct 12, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -257,6 +257,7 @@ COPY=\
257
257
\
258
258
$(IMPDIR)\core\sys\openbsd\dlfcn.d \
259
259
$(IMPDIR)\core\sys\openbsd\err.d \
260
+ $(IMPDIR)\core\sys\openbsd\pthread_np.d \
260
261
$(IMPDIR)\core\sys\openbsd\stdlib.d \
261
262
$(IMPDIR)\core\sys\openbsd\string.d \
262
263
$(IMPDIR)\core\sys\openbsd\time.d \
Original file line number Diff line number Diff line change @@ -257,6 +257,7 @@ SRCS=\
257
257
\
258
258
src\core\sys\openbsd\dlfcn.d \
259
259
src\core\sys\openbsd\err.d \
260
+ src\core\sys\openbsd\pthread_np.d \
260
261
src\core\sys\openbsd\stdlib.d \
261
262
src\core\sys\openbsd\string.d \
262
263
src\core\sys\openbsd\time.d \
Original file line number Diff line number Diff line change
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 ();
You can’t perform that action at this time.
0 commit comments