comparison src/os/bsd/vm/os_bsd.hpp @ 12809:faff125a1ead

8022616: u4 should not be used as a type for thread_id Summary: Usage of u4 as a type for thread_id cause a compilation error on platform, where thread_id is a pointer Reviewed-by: sla, sspitsyn, minqi
author dsamersoff
date Thu, 03 Oct 2013 12:39:58 +0400
parents f2110083203d
children b0133e4187d3 6c9332549827
comparison
equal deleted inserted replaced
12808:7ae82c3a781a 12809:faff125a1ead
82 static pthread_t main_thread(void) { return _main_thread; } 82 static pthread_t main_thread(void) { return _main_thread; }
83 83
84 static void hotspot_sigmask(Thread* thread); 84 static void hotspot_sigmask(Thread* thread);
85 85
86 static bool is_initial_thread(void); 86 static bool is_initial_thread(void);
87 static pid_t gettid();
87 88
88 static int page_size(void) { return _page_size; } 89 static int page_size(void) { return _page_size; }
89 static void set_page_size(int val) { _page_size = val; } 90 static void set_page_size(int val) { _page_size = val; }
90 91
91 static address ucontext_get_pc(ucontext_t* uc); 92 static address ucontext_get_pc(ucontext_t* uc);