Changeset 46c66f8 in mainline for uspace/lib/cpp/src


Ignore:
Timestamp:
2019-07-07T12:59:11Z (6 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c0b781
Parents:
8e24583
Message:

cpp: apply requested changes

Location:
uspace/lib/cpp/src/__bits
Files:
2 edited

Legend:

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

    r8e24583 r46c66f8  
    2828
    2929#include <__bits/abi.hpp>
     30#include <cassert>
    3031#include <cstdlib>
    3132#include <cstdint>
     
    211212    {
    212213        // TODO: needed for thread_local variables
     214        __unimplemented();
    213215        return 0;
    214216    }
  • uspace/lib/cpp/src/__bits/test/future.cpp

    r8e24583 r46c66f8  
    161161        std::thread t4{
    162162            [&p4](){
    163                 p4.set_value_at_thread_exit(42);
     163                /* p4.set_value_at_thread_exit(42); */
    164164            }
    165165        };
     
    167167
    168168        /* test("shared state marked as ready at thread exit", s4->is_set()); */
    169         test_eq("value set inside state while in thread", s4->get(), 42);
     169        /* test_eq("value set inside state while in thread", s4->get(), 42); */
    170170        /* test_eq("value set at thread exit", f4.get(), 42); */
    171171
Note: See TracChangeset for help on using the changeset viewer.