src/os/bsd/vm/os_bsd.hpp

changeset 6486
b0133e4187d3
parent 5834
faff125a1ead
child 6667
917873d2983d
equal deleted inserted replaced
6485:da862781b584 6486:b0133e4187d3
24 24
25 #ifndef OS_BSD_VM_OS_BSD_HPP 25 #ifndef OS_BSD_VM_OS_BSD_HPP
26 #define OS_BSD_VM_OS_BSD_HPP 26 #define OS_BSD_VM_OS_BSD_HPP
27 27
28 // Bsd_OS defines the interface to Bsd operating systems 28 // Bsd_OS defines the interface to Bsd operating systems
29
30 // Information about the protection of the page at address '0' on this os.
31 static bool zero_page_read_protected() { return true; }
29 32
30 /* pthread_getattr_np comes with BsdThreads-0.9-7 on RedHat 7.1 */ 33 /* pthread_getattr_np comes with BsdThreads-0.9-7 on RedHat 7.1 */
31 typedef int (*pthread_getattr_func_type) (pthread_t, pthread_attr_t *); 34 typedef int (*pthread_getattr_func_type) (pthread_t, pthread_attr_t *);
32 35
33 #ifdef __APPLE__ 36 #ifdef __APPLE__

mercurial