hotspot/src/os/bsd/vm/osThread_bsd.hpp
author rbackman
Tue, 06 Mar 2012 12:36:59 +0100
changeset 12377 ae6def2813e0
parent 11881 9642744ae9a5
child 12765 3e1b42265329
permissions -rw-r--r--
7160570: Intrinsification support for tracing framework Reviewed-by: sla, never
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     1
/*
11881
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
     2
 * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     4
 *
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     7
 * published by the Free Software Foundation.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     8
 *
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    13
 * accompanied this code).
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    14
 *
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    18
 *
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    21
 * questions.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    22
 *
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    23
 */
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    24
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    25
#ifndef OS_BSD_VM_OSTHREAD_BSD_HPP
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    26
#define OS_BSD_VM_OSTHREAD_BSD_HPP
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    27
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    28
 private:
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    29
  int _thread_type;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    30
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    31
 public:
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    32
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    33
  int thread_type() const {
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    34
    return _thread_type;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    35
  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    36
  void set_thread_type(int type) {
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    37
    _thread_type = type;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    38
  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    39
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    40
 private:
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    41
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    42
#ifdef _ALLBSD_SOURCE
11881
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    43
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    44
#ifdef __APPLE__
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    45
  thread_t  _thread_id;
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    46
#else
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    47
  pthread_t _thread_id;
11881
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    48
#endif
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    49
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    50
  // _pthread_id is the pthread id, which is used by library calls
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    51
  // (e.g. pthread_kill).
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    52
  pthread_t _pthread_id;
11881
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    53
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    54
#else
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    55
  // _thread_id is kernel thread id (similar to LWP id on Solaris). Each
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    56
  // thread has a unique thread_id (BsdThreads or NPTL). It can be used
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    57
  // to access /proc.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    58
  pid_t     _thread_id;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    59
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    60
  // _pthread_id is the pthread id, which is used by library calls
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    61
  // (e.g. pthread_kill).
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    62
  pthread_t _pthread_id;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    63
#endif
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    64
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    65
  sigset_t _caller_sigmask; // Caller's signal mask
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    66
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    67
 public:
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    68
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    69
  // Methods to save/restore caller's signal mask
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    70
  sigset_t  caller_sigmask() const       { return _caller_sigmask; }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    71
  void    set_caller_sigmask(sigset_t sigmask)  { _caller_sigmask = sigmask; }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    72
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    73
#ifdef _ALLBSD_SOURCE
11881
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    74
#ifdef __APPLE__
12377
ae6def2813e0 7160570: Intrinsification support for tracing framework
rbackman
parents: 11881
diff changeset
    75
  static size_t thread_id_size()         { return sizeof(thread_t); }
11881
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    76
  thread_t thread_id() const {
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    77
    return _thread_id;
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    78
  }
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    79
#else
12377
ae6def2813e0 7160570: Intrinsification support for tracing framework
rbackman
parents: 11881
diff changeset
    80
  static size_t thread_id_size()         { return sizeof(pthread_t); }
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    81
  pthread_t thread_id() const {
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    82
    return _thread_id;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    83
  }
11881
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
    84
#endif
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    85
#else
12377
ae6def2813e0 7160570: Intrinsification support for tracing framework
rbackman
parents: 11881
diff changeset
    86
  static size_t thread_id_size()         { return sizeof(pid_t); }
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    87
  pid_t thread_id() const {
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    88
    return _thread_id;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    89
  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    90
#endif
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    91
#ifndef PRODUCT
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    92
  // Used for debugging, return a unique integer for each thread.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    93
  intptr_t thread_identifier() const   { return (intptr_t)_pthread_id; }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    94
#endif
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    95
#ifdef ASSERT
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    96
  // We expect no reposition failures so kill vm if we get one.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    97
  //
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    98
  bool valid_reposition_failure() {
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    99
    return false;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   100
  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   101
#endif // ASSERT
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   102
#ifdef _ALLBSD_SOURCE
11881
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
   103
#ifdef __APPLE__
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
   104
  void set_thread_id(thread_t id) {
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
   105
    _thread_id = id;
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
   106
  }
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
   107
#else
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   108
  void set_thread_id(pthread_t id) {
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   109
    _thread_id = id;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   110
  }
11881
9642744ae9a5 7132070: Use a mach_port_t as the OSThread thread_id rather than pthread_t on BSD/OSX
sla
parents: 10565
diff changeset
   111
#endif
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   112
#else
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   113
  void set_thread_id(pid_t id) {
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   114
    _thread_id = id;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   115
  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   116
#endif
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   117
  pthread_t pthread_id() const {
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   118
    return _pthread_id;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   119
  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   120
  void set_pthread_id(pthread_t tid) {
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   121
    _pthread_id = tid;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   122
  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   123
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   124
  // ***************************************************************
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   125
  // suspension support.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   126
  // ***************************************************************
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   127
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   128
public:
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   129
  // flags that support signal based suspend/resume on Bsd are in a
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   130
  // separate class to avoid confusion with many flags in OSThread that
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   131
  // are used by VM level suspend/resume.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   132
  os::Bsd::SuspendResume sr;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   133
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   134
  // _ucontext and _siginfo are used by SR_handler() to save thread context,
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   135
  // and they will later be used to walk the stack or reposition thread PC.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   136
  // If the thread is not suspended in SR_handler() (e.g. self suspend),
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   137
  // the value in _ucontext is meaningless, so we must use the last Java
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   138
  // frame information as the frame. This will mean that for threads
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   139
  // that are parked on a mutex the profiler (and safepoint mechanism)
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   140
  // will see the thread as if it were still in the Java frame. This
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   141
  // not a problem for the profiler since the Java frame is a close
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   142
  // enough result. For the safepoint mechanism when the give it the
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   143
  // Java frame we are not at a point where the safepoint needs the
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   144
  // frame to that accurate (like for a compiled safepoint) since we
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   145
  // should be in a place where we are native and will block ourselves
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   146
  // if we transition.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   147
private:
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   148
  void* _siginfo;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   149
  ucontext_t* _ucontext;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   150
  int _expanding_stack;                 /* non zero if manually expanding stack */
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   151
  address _alt_sig_stack;               /* address of base of alternate signal stack */
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   152
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   153
public:
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   154
  void* siginfo() const                   { return _siginfo;  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   155
  void set_siginfo(void* ptr)             { _siginfo = ptr;   }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   156
  ucontext_t* ucontext() const            { return _ucontext; }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   157
  void set_ucontext(ucontext_t* ptr)      { _ucontext = ptr;  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   158
  void set_expanding_stack(void)          { _expanding_stack = 1;  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   159
  void clear_expanding_stack(void)        { _expanding_stack = 0;  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   160
  int  expanding_stack(void)              { return _expanding_stack;  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   161
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   162
  void set_alt_sig_stack(address val)     { _alt_sig_stack = val; }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   163
  address alt_sig_stack(void)             { return _alt_sig_stack; }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   164
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   165
private:
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   166
  Monitor* _startThread_lock;     // sync parent and child in thread creation
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   167
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   168
public:
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   169
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   170
  Monitor* startThread_lock() const {
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   171
    return _startThread_lock;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   172
  }
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   173
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   174
  // ***************************************************************
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   175
  // Platform dependent initialization and cleanup
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   176
  // ***************************************************************
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   177
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   178
private:
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   179
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   180
  void pd_initialize();
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   181
  void pd_destroy();
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   182
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   183
// Reconciliation History
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   184
// osThread_solaris.hpp 1.24 99/08/27 13:11:54
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   185
// End
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   186
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
   187
#endif // OS_BSD_VM_OSTHREAD_BSD_HPP