Mercurial > hg > graal-jvmci-8
diff src/os/bsd/vm/thread_bsd.inline.hpp @ 7180:f34d701e952e
8003935: Simplify the needed includes for using Thread::current()
Reviewed-by: dholmes, rbackman, coleenp
author | stefank |
---|---|
date | Tue, 27 Nov 2012 14:20:21 +0100 |
parents | f08d439fab8c |
children | ce8f6bb717c9 |
line wrap: on
line diff
--- a/src/os/bsd/vm/thread_bsd.inline.hpp Tue Nov 27 10:13:20 2012 +0100 +++ b/src/os/bsd/vm/thread_bsd.inline.hpp Tue Nov 27 14:20:21 2012 +0100 @@ -25,6 +25,10 @@ #ifndef OS_BSD_VM_THREAD_BSD_INLINE_HPP #define OS_BSD_VM_THREAD_BSD_INLINE_HPP +#ifndef SHARE_VM_RUNTIME_THREAD_INLINE_HPP_SCOPE +#error "This file should only be included from thread.inline.hpp" +#endif + #include "runtime/atomic.hpp" #include "runtime/prefetch.hpp" #include "runtime/thread.hpp"