90
91 inline bool os::numa_has_static_binding() { return true; }
92 inline bool os::numa_has_group_homing() { return false; }
93
94 inline size_t os::read(int fd, void *buf, unsigned int nBytes) {
95 return ::read(fd, buf, nBytes);
96 }
97
98 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) {
99 return ::read(fd, buf, nBytes);
100 }
101
102 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) {
103 return ::write(fd, buf, nBytes);
104 }
105
106 inline int os::close(int fd) {
107 return ::close(fd);
108 }
109
110 #ifndef PRODUCT
111 #define CALL_TEST_FUNC_WITH_WRAPPER_IF_NEEDED(f) \
112 os::win32::call_test_func_with_wrapper(f)
113 #endif
114
115 #endif // OS_WINDOWS_VM_OS_WINDOWS_INLINE_HPP
|
90
91 inline bool os::numa_has_static_binding() { return true; }
92 inline bool os::numa_has_group_homing() { return false; }
93
94 inline size_t os::read(int fd, void *buf, unsigned int nBytes) {
95 return ::read(fd, buf, nBytes);
96 }
97
98 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) {
99 return ::read(fd, buf, nBytes);
100 }
101
102 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) {
103 return ::write(fd, buf, nBytes);
104 }
105
106 inline int os::close(int fd) {
107 return ::close(fd);
108 }
109
110 #define CALL_TEST_FUNC_WITH_WRAPPER_IF_NEEDED(f) \
111 os::win32::call_test_func_with_wrapper(f)
112
113 #endif // OS_WINDOWS_VM_OS_WINDOWS_INLINE_HPP
|