< prev index next >
src/os/solaris/vm/os_solaris.hpp
Print this page
rev 13542 : 8187040: ThreadCritical crashes on Solaris if used between os::init and os::init_2
Reviewed-by:
*** 63,72 ****
--- 63,74 ----
static int_fnP_cond_tP _cond_broadcast;
static int_fnP_cond_tP_i_vP _cond_init;
static int_fnP_cond_tP _cond_destroy;
static int _cond_scope;
+ static bool _synchronization_initialized;
+
typedef uintptr_t lgrp_cookie_t;
typedef id_t lgrp_id_t;
typedef int lgrp_rsrc_t;
typedef enum lgrp_view {
LGRP_VIEW_CALLER, // what's available to the caller
*** 225,234 ****
--- 227,238 ----
static void set_cond_broadcast(int_fnP_cond_tP func) { _cond_broadcast = func; }
static void set_cond_init(int_fnP_cond_tP_i_vP func) { _cond_init = func; }
static void set_cond_destroy(int_fnP_cond_tP func) { _cond_destroy = func; }
static void set_cond_scope(int scope) { _cond_scope = scope; }
+ static bool synchronization_initialized() { return _synchronization_initialized; }
+
static void set_lgrp_home(lgrp_home_func_t func) { _lgrp_home = func; }
static void set_lgrp_init(lgrp_init_func_t func) { _lgrp_init = func; }
static void set_lgrp_fini(lgrp_fini_func_t func) { _lgrp_fini = func; }
static void set_lgrp_root(lgrp_root_func_t func) { _lgrp_root = func; }
static void set_lgrp_children(lgrp_children_func_t func) { _lgrp_children = func; }
< prev index next >