comparison src/os/bsd/vm/os_bsd.hpp @ 14478:bb9356ec5967

Merge
author hseigel
date Sun, 23 Feb 2014 13:16:03 -0500
parents 6c9332549827 b0133e4187d3
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14477:96d2c94bbdd0 14478:bb9356ec5967
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__