Changeset d3ba97d in mainline


Ignore:
Timestamp:
2019-07-02T13:09:26Z (5 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
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.