Changeset 508b0df1 in mainline for uspace/lib/graph/graph.h


Ignore:
Timestamp:
2018-09-06T20:21:52Z (7 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
78de83de, fc10e1b
Parents:
4621d23
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-13 03:53:39)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-09-06 20:21:52)
Message:

Remove uspace <atomic.h>, use <stdatomic.h> instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/graph/graph.h

    r4621d23 r508b0df1  
    4040#include <loc.h>
    4141#include <async.h>
    42 #include <atomic.h>
     42#include <stdatomic.h>
     43#include <refcount.h>
    4344#include <fibril_synch.h>
    4445#include <adt/list.h>
     
    121122         * Field is fully managed by libgraph.
    122123         */
    123         atomic_t ref_cnt;
     124        atomic_flag claimed;
    124125
    125126        /**
     
    272273        link_t link;
    273274
    274         atomic_t ref_cnt;
     275        atomic_refcount_t ref_cnt;
    275276
    276277        sysarg_t reg_svc_handle;
Note: See TracChangeset for help on using the changeset viewer.