Changeset 3679f51a in mainline for uspace/lib/c/generic/fibril.c


Ignore:
Timestamp:
2018-06-25T20:41:09Z (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:
95838f1
Parents:
d73d992
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-25 20:30:35)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-25 20:41:09)
Message:

Remove the option of RCU-upgradable futexes for now.
They complicate threading design too much.

File:
1 edited

Legend:

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

    rd73d992 r3679f51a  
    5151#include "private/fibril.h"
    5252
    53 #ifdef FUTEX_UPGRADABLE
    54 #include <rcu.h>
    55 #endif
    5653
    5754/**
     
    7875
    7976        fibril_t *fibril = fibril_self();
    80 
    81 #ifdef FUTEX_UPGRADABLE
    82         rcu_register_fibril();
    83 #endif
    8477
    8578        /* Call the implementing function. */
     
    203196                break;
    204197        }
    205 
    206 #ifdef FUTEX_UPGRADABLE
    207         if (stype == FIBRIL_FROM_DEAD) {
    208                 rcu_deregister_fibril();
    209         }
    210 #endif
    211198
    212199        /* Swap to the next fibril. */
Note: See TracChangeset for help on using the changeset viewer.