Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/exception.c

    r5715d43 r80ec409  
    5959
    6060
     61// Temperary global exception context. Does not work with concurency.
     62static struct exception_context_t shared_stack = {NULL, NULL};
     63
    6164// Get the current exception context.
    6265// There can be a single global until multithreading occurs, then each stack
    63 // needs its own. We get this from libcfathreads (no weak attribute).
    64 __attribute__((weak)) struct exception_context_t * this_exception_context() {
    65         static struct exception_context_t shared_stack = {NULL, NULL};
     66// needs its own. It will have to be updated to handle that.
     67struct exception_context_t * this_exception_context() {
    6668        return &shared_stack;
    6769}
Note: See TracChangeset for help on using the changeset viewer.