Changeset b188002 in mainline for uspace/lib/urcu/rcu.c


Ignore:
Timestamp:
2012-12-04T16:46:43Z (12 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
df7cbc6
Parents:
156b6406
Message:

urcu: Assert that we are in a reader section when unlocking via rcu_read_unlock().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/urcu/rcu.c

    r156b6406 rb188002  
    223223{
    224224        assert(fibril_rcu.registered);
    225         /* assert(rcu_read_locked()); */
     225        assert(rcu_read_locked());
    226226       
    227227        /* Required by MB_FORCE_U */
Note: See TracChangeset for help on using the changeset viewer.