summaryrefslogtreecommitdiff
path: root/hw/xquartz/quartzStartup.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-04-23 01:48:25 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-04-25 18:57:02 -0700
commit3e253c603bc18f06fa48b611797eb5a7c8a96fe4 (patch)
tree86464a07dc97a6d19d17b18df1d5261d742798c6 /hw/xquartz/quartzStartup.c
parenta52c8078c9cc83c84a8c6eb58810f49bdb90bcc1 (diff)
XQuartz: Remove the threadSafety dead-ish code
It's been a few years now since we've needed this to debug thread boundaries, so punt it out to clean up the namespace polution. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'hw/xquartz/quartzStartup.c')
-rw-r--r--hw/xquartz/quartzStartup.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/xquartz/quartzStartup.c b/hw/xquartz/quartzStartup.c
index 36c8182ae..00a9e48fd 100644
--- a/hw/xquartz/quartzStartup.c
+++ b/hw/xquartz/quartzStartup.c
@@ -84,10 +84,7 @@ void QuartzInitServer(int argc, char **argv, char **envp) {
args->argv = argv;
args->envp = envp;
- APPKIT_THREAD_ID = pthread_self();
- SERVER_THREAD_ID = create_thread(server_thread, args);
-
- if (!SERVER_THREAD_ID) {
+ if (!create_thread(server_thread, args)) {
FatalError("can't create secondary thread\n");
}
}