src/os/linux/vm/os_linux.hpp

changeset 6486
b0133e4187d3
parent 5679
2e6938dd68f2
child 6876
710a3c8b516e
child 7074
833b0f92429a
equal deleted inserted replaced
6485:da862781b584 6486:b0133e4187d3
27 27
28 // Linux_OS defines the interface to Linux operating systems 28 // Linux_OS defines the interface to Linux operating systems
29 29
30 /* pthread_getattr_np comes with LinuxThreads-0.9-7 on RedHat 7.1 */ 30 /* pthread_getattr_np comes with LinuxThreads-0.9-7 on RedHat 7.1 */
31 typedef int (*pthread_getattr_func_type) (pthread_t, pthread_attr_t *); 31 typedef int (*pthread_getattr_func_type) (pthread_t, pthread_attr_t *);
32
33 // Information about the protection of the page at address '0' on this os.
34 static bool zero_page_read_protected() { return true; }
32 35
33 class Linux { 36 class Linux {
34 friend class os; 37 friend class os;
35 friend class TestReserveMemorySpecial; 38 friend class TestReserveMemorySpecial;
36 39

mercurial