Changeset 6070


Ignore:
Timestamp:
Mar 20, 2007, 3:51:57 AM (13 years ago)
Author:
gb
Message:

Don't define USE_SIGALTSTACK on Darwin (alternate signal stacks aren't
thread-specific, meaning that they're nearly useless on Darwin.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/objc-gf/ccl/lisp-kernel/x86-exceptions.h

    r5996 r6070  
    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.