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

Changeset bf13e711 in mainline


Ignore:
Timestamp:
2019-06-30T14:35:43Z (16 months ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
master
Children:
7480341
Parents:
0076b9d
Message:

cpp: make the launch enum class start at 1 as it is used in bitwise operations and launch::async & launch::deferred would cause problems otherwise

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/thread/async.hpp

    r0076b9d rbf13e711  
    3131
    3232#include <__bits/thread/future.hpp>
     33#include <__bits/thread/future_common.hpp>
    3334#include <__bits/thread/shared_state.hpp>
    3435#include <__bits/type_traits/result_of.hpp>
     
    4041    enum class launch
    4142    {
    42         async,
     43        async = 1,
    4344        deferred
    4445    };
Note: See TracChangeset for help on using the changeset viewer.