Changeset 11548


Ignore:
Timestamp:
Dec 24, 2008, 2:03:49 AM (11 years ago)
Author:
gb
Message:

Not really the bug I've been looking for, but ... allocate_tcr() should
basically malloc a TCR, for platforms that don't support thread local
storage in the toolchain. On Darwin, the address of the TCR has to
be usable as a Mach port name (which means that it can't conflict
with any existing Mach port name and has to fit in 32 bits). We're
supposed to keep mallocing on Darwin, pushing failed/conflicting addresses
on a queue and then freeing the things on that queue when we finally
win. but the loop that does the freeing freed the first entry repeatedly
(leading to double-free errors.)

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.