Changeset 6219


Ignore:
Timestamp:
Apr 8, 2007, 4:49:08 AM (12 years ago)
Author:
gb
Message:

USE_SIGALTSTACK, but not on Darwin (where Apple hasn't yet invented
the notion that it needs to be thread-specific.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lisp-kernel/x86-exceptions.h

    r5996 r6219  
    8383#endif
    8484
    85 #ifdef USE_SIGALTSTACK
    86 void setup_sigaltstack(area *);
     85
    8786void switch_to_foreign_stack(void*, ...);
    88 #endif
    8987
    9088#define INTN_OPCODE 0xcd
     
    141139extern void set_gs_address(void *);
    142140#endif
     141
     142
     143/* sigaltstack isn't thread-specific on The World's Most Advanced OS */
     144#ifdef DARWIN
     145#undef USE_SIGALTSTACK
     146#else
     147#define USE_SIGALTSTACK 1
     148#endif
     149
     150#ifdef USE_SIGALTSTACK
     151void setup_sigaltstack(area *);
     152#endif
Note: See TracChangeset for help on using the changeset viewer.