Ignore:
Timestamp:
Aug 13, 2012, 9:19:28 AM (7 years ago)
Author:
gb
Message:

allocate_tcr(): always do Mach port stuff on Darwin.

File:
1 edited

Legend:

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

    r15437 r15438  
    841841#ifdef DARWIN64
    842842    tcr = darwin_allocate_tcr();
     843#else
     844    tcr = calloc(1, sizeof(TCR));
     845#endif
     846#ifdef DARWIN
    843847    if (use_mach_exception_handling) {
    844848      thread_exception_port = (mach_port_t)((natural)tcr);
     
    855859      continue;
    856860    }
    857 #else
    858     tcr = calloc(1, sizeof(TCR));
    859861#endif
    860862    for (;chain;chain = next) {
Note: See TracChangeset for help on using the changeset viewer.