changeset 6507:abd0975a3021

. NetBSD also has a non-pointer thread id. Authored by: Christos Zoulas <christos@zoulas.com>
author Greg Lewis <glewis@eyesbeyond.com>
date Sat, 14 Mar 2015 10:18:22 -0700
parents a23af8dd8d16
children 10acfe2761d0
files src/os/bsd/vm/osThread_bsd.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/bsd/vm/osThread_bsd.cpp	Sun Feb 01 21:04:50 2015 -0800
+++ b/src/os/bsd/vm/osThread_bsd.cpp	Sat Mar 14 10:18:22 2015 -0700
@@ -30,7 +30,7 @@
 
 void OSThread::pd_initialize() {
   assert(this != NULL, "check");
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
   _thread_id        = 0;
 #else
   _thread_id        = NULL;