Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
83bac411
Commit
83bac411
authored
Aug 16, 2012
by
Jan Beich
Committed by
Alexandre Julliard
Aug 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fetch thread id on NetBSD.
parent
fa4e97f4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
0 deletions
+10
-0
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
server.c
dlls/ntdll/server.c
+5
-0
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
83bac411
...
...
@@ -5857,6 +5857,7 @@ for ac_header in \
linux/serial.h
\
linux/types.h
\
linux/ucdrom.h
\
lwp.h
\
mach-o/nlist.h
\
mach-o/loader.h
\
mach/mach.h
\
...
...
configure.ac
View file @
83bac411
...
...
@@ -452,6 +452,7 @@ AC_CHECK_HEADERS(\
linux/serial.h \
linux/types.h \
linux/ucdrom.h \
lwp.h \
mach-o/nlist.h \
mach-o/loader.h \
mach/mach.h \
...
...
dlls/ntdll/server.c
View file @
83bac411
...
...
@@ -28,6 +28,9 @@
#endif
#include <errno.h>
#include <fcntl.h>
#ifdef HAVE_LWP_H
#include <lwp.h>
#endif
#ifdef HAVE_PTHREAD_NP_H
# include <pthread_np.h>
#endif
...
...
@@ -956,6 +959,8 @@ static int get_unix_tid(void)
#elif defined(__APPLE__)
ret
=
mach_thread_self
();
mach_port_deallocate
(
mach_task_self
(),
ret
);
#elif defined(__NetBSD__)
ret
=
_lwp_self
();
#elif defined(__FreeBSD__)
long
lwpid
;
thr_self
(
&
lwpid
);
...
...
include/config.h.in
View file @
83bac411
...
...
@@ -440,6 +440,9 @@
/* Define to 1 if you have the `lstat' function. */
#undef HAVE_LSTAT
/* Define to 1 if you have the <lwp.h> header file. */
#undef HAVE_LWP_H
/* Define to 1 if you have the <machine/cpu.h> header file. */
#undef HAVE_MACHINE_CPU_H
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment