author | dcubed |
Fri, 22 Nov 2019 09:06:35 -0500 | |
changeset 59225 | 80e1201f6c9a |
parent 53266 | 57d8566a2732 |
permissions | -rw-r--r-- |
25468
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
1 |
/* |
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
47216
diff
changeset
|
2 |
* Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved. |
25468
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
4 |
* |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
8 |
* |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
13 |
* accompanied this code). |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
14 |
* |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
18 |
* |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
21 |
* questions. |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
22 |
* |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
23 |
*/ |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
24 |
|
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
47216
diff
changeset
|
25 |
#ifndef SHARE_RUNTIME_OS_INLINE_HPP |
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
47216
diff
changeset
|
26 |
#define SHARE_RUNTIME_OS_INLINE_HPP |
25468
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
27 |
|
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
28 |
#include "runtime/os.hpp" |
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
29 |
|
53266
57d8566a2732
8214816: os::read() should not transition to _thread_blocked with safepoint check on Solaris
dholmes
parents:
53244
diff
changeset
|
30 |
inline ssize_t os::read(int fd, void *buf, unsigned int nBytes) { |
57d8566a2732
8214816: os::read() should not transition to _thread_blocked with safepoint check on Solaris
dholmes
parents:
53244
diff
changeset
|
31 |
return ::read(fd, buf, nBytes); |
57d8566a2732
8214816: os::read() should not transition to _thread_blocked with safepoint check on Solaris
dholmes
parents:
53244
diff
changeset
|
32 |
} |
57d8566a2732
8214816: os::read() should not transition to _thread_blocked with safepoint check on Solaris
dholmes
parents:
53244
diff
changeset
|
33 |
|
40010 | 34 |
#include OS_HEADER_INLINE(os) |
25468
5331df506290
8048241: Introduce umbrella header os.inline.hpp and clean up includes
goetz
parents:
diff
changeset
|
35 |
|
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
47216
diff
changeset
|
36 |
#endif // SHARE_RUNTIME_OS_INLINE_HPP |