Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/os/bsd/vm/os_bsd.hpp Thu Oct 03 04:42:57 2013 +0200 +++ b/src/os/bsd/vm/os_bsd.hpp Thu Oct 03 12:39:58 2013 +0400 @@ -84,6 +84,7 @@ static void hotspot_sigmask(Thread* thread); static bool is_initial_thread(void); + static pid_t gettid(); static int page_size(void) { return _page_size; } static void set_page_size(int val) { _page_size = val; }