Changeset 6c1bb0d in mainline for uspace/lib/c/generic/fibril.c


Ignore:
Timestamp:
2012-12-04T17:33:51Z (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:
cdbcf14
Parents:
87179ca
Message:

Fixed new/dying fibril (de)registration with urcu; due to typo in macro.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/fibril.c

    r87179ca r6c1bb0d  
    5151#include <futex.h>
    5252
    53 #ifdef futex_unlockGRADABLE
     53#ifdef FUTEX_UPGRADABLE
    5454#include <rcu.h>
    5555#endif
     
    8888        fibril_t *fibril = __tcb_get()->fibril_data;
    8989
    90 #ifdef futex_unlockGRADABLE
     90#ifdef FUTEX_UPGRADABLE
    9191        rcu_register_fibril();
    9292#endif
     
    254254        futex_unlock(&fibril_futex);
    255255       
    256 #ifdef futex_unlockGRADABLE
     256#ifdef FUTEX_UPGRADABLE
    257257        if (stype == FIBRIL_FROM_DEAD) {
    258258                rcu_deregister_fibril();
Note: See TracChangeset for help on using the changeset viewer.