src/os/windows/vm/osThread_windows.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 20,29 ****
--- 20,32 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef OS_WINDOWS_VM_OSTHREAD_WINDOWS_HPP
+ #define OS_WINDOWS_VM_OSTHREAD_WINDOWS_HPP
+
typedef void* HANDLE;
private:
// Win32-specific thread information
HANDLE _thread_handle; // Win32 thread handle
*** 62,66 ****
--- 65,71 ----
ThreadState get_last_state() { return _last_state; }
private:
void pd_initialize();
void pd_destroy();
+
+ #endif // OS_WINDOWS_VM_OSTHREAD_WINDOWS_HPP