Opened 13 years ago

#376 new defect

callbacks should preserve immediate thread-local state

Reported by: gb Owned by: gb
Priority: normal Milestone:
Component: Runtime (threads, GC) Version:
Keywords: Cc:


Callbacks that could return (and we generally have to assume that all will) should preserve immediate thread-specific data (errno, some tcr fields). This is especially true of callbacks triggered by asynchronous interrupts but it's probably wise to do the saving/restoring on the most common callback path (e.g., callback_to_lisp()).

I'm not sure what the current status of this is; it may not be consistent between x86 and ppc.

Change History (0)

Note: See TracTickets for help on using tickets.