=== Threads merge, 3.125 metres ===
Reenable control stack guard page checking.
Define control_stack_end as an exclusive bound.
th->control_stack_start = spaces;
th->binding_stack_start=
(lispobj*)((void*)th->control_stack_start+THREAD_CONTROL_STACK_SIZE);
- th->control_stack_end = th->binding_stack_start-1;
+ th->control_stack_end = th->binding_stack_start;
th->alien_stack_start=
(lispobj*)((void*)th->binding_stack_start+BINDING_STACK_SIZE);
th->binding_stack_pointer=th->binding_stack_start;
}
void protect_control_stack_guard_page(pid_t t_id, int protect_p) {
- struct thread *th= find_thread_by_pid(t_id);
-#if 0
+ struct thread *th = find_thread_by_pid(t_id);
os_protect(CONTROL_STACK_GUARD_PAGE(th),
os_vm_page_size,protect_p ?
(OS_VM_PROT_READ|OS_VM_PROT_EXECUTE) : OS_VM_PROT_ALL);
-#endif
}
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.pre8.35"
+"0.pre8.36"