Changeset 8540


Ignore:
Timestamp:
Feb 21, 2008, 9:43:29 AM (12 years ago)
Author:
gb
Message:

Avoid using SIGEMT as asynch signal.

Location:
trunk/source/lisp-kernel
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/ppc-exceptions.c

    r8493 r8540  
    808808   do_hard_stack_overflow,
    809809   do_hard_stack_overflow,
     810   do_heap_soft_write
    810811   };
    811812
     
    10951096#endif
    10961097  return -1;
     1098}
     1099
     1100OSStatus
     1101do_heap_soft_write(ExceptionInformation *xp, protected_area_ptr area, BytePtr addr)
     1102{
     1103  UnProtectMemory((LogicalAddress)(truncate_to_power_of_2(addr, log2_page_size)),page_size);
     1104  return 0;
    10971105}
    10981106
  • trunk/source/lisp-kernel/ppc-exceptions.h

    r6514 r8540  
    408408
    409409#ifdef DARWIN
    410 #define SIGNAL_FOR_PROCESS_INTERRUPT SIGEMT
     410#define SIGNAL_FOR_PROCESS_INTERRUPT SIGUSR1
    411411#endif
    412412#ifdef LINUX
  • trunk/source/lisp-kernel/x86-exceptions.c

    r8475 r8540  
    15871587{
    15881588  thread_suspend_signal = SIG_SUSPEND_THREAD;
    1589   thread_resume_signal = SIG_RESUME_THREAD;
    15901589
    15911590  install_signal_handler(thread_suspend_signal, (void *)SUSPEND_RESUME_HANDLER);
    1592   install_signal_handler(thread_resume_signal, (void *)SUSPEND_RESUME_HANDLER);
    15931591  install_signal_handler(SIGQUIT, (void *)QUIT_HANDLER);
    15941592}
  • trunk/source/lisp-kernel/x86-exceptions.h

    r8408 r8540  
    7777
    7878#ifdef DARWIN
    79 #define SIGNAL_FOR_PROCESS_INTERRUPT SIGEMT
     79#define SIGNAL_FOR_PROCESS_INTERRUPT SIGUSR1
    8080#endif
    8181#ifdef LINUX
Note: See TracChangeset for help on using the changeset viewer.