Ignore:
Timestamp:
Jan 5, 2009, 11:37:24 AM (11 years ago)
Author:
gb
Message:

Hold TCR_AREA_LOCK when calling pthread_create(), to avoid Darwin lossage.

Propagate recent x86 Darwin sigreturn changes to 1.2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/1.2/source/lisp-kernel/x86-exceptions.h

    r9055 r11582  
    3030#define DARWIN_USE_PSEUDO_SIGRETURN 1
    3131#include <sys/syscall.h>
    32 #define DarwinSigReturn(context) syscall(0x2000000|SYS_sigreturn,context,0x1e)
     32#define DarwinSigReturn(context) do {\
     33    darwin_sigreturn(context);\
     34    Bug(context,"sigreturn returned");\
     35  } while (0)
     36
    3337#ifdef X8664
    3438#define xpGPRvector(x) ((natural *)(&(UC_MCONTEXT(x)->__ss.__rax)))
Note: See TracChangeset for help on using the changeset viewer.