Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset d3ba97d in mainline


Ignore:
Timestamp:
2019-07-02T13:09:26Z (16 months ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
master
Children:
72786f38
Parents:
d276424f
Message:

cpp: add a stub allowing creating thread_local variables, without destructors at the moment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/src/__bits/runtime.cpp

    rd276424f rd3ba97d  
    207207    extern "C" void __cxa_end_cleanup()
    208208    { /* DUMMY BODY */ }
     209
     210    extern "C" int __cxa_thread_atexit(void(*)(void*), void*, void*)
     211    {
     212        // TODO: needed for thread_local variables
     213        return 0;
     214    }
    209215}
Note: See TracChangeset for help on using the changeset viewer.