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

Changeset 2654afb in mainline for uspace/lib/c/generic/fibril_synch.c


Ignore:
Timestamp:
2015-06-16T22:17:31Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
master
Children:
47726b5e, cf3aee19, e96047c
Parents:
c721d26
Message:

Remove support for the abandoned concept of fibril serialization.
Streamline fibril_switch() a little bit.

File:
1 edited

Legend:

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

    rc721d26 r2654afb  
    105105        fibril_t *f = (fibril_t *) fibril_get_id();
    106106
    107         if (fibril_get_sercount() != 0)
    108                 abort();
    109 
    110107        futex_down(&async_futex);
    111108        if (fm->counter-- <= 0) {
     
    197194        fibril_t *f = (fibril_t *) fibril_get_id();
    198195       
    199         if (fibril_get_sercount() != 0)
    200                 abort();
    201 
    202196        futex_down(&async_futex);
    203197        if (frw->writers) {
     
    224218        fibril_t *f = (fibril_t *) fibril_get_id();
    225219       
    226         if (fibril_get_sercount() != 0)
    227                 abort();
    228 
    229220        futex_down(&async_futex);
    230221        if (frw->writers || frw->readers) {
Note: See TracChangeset for help on using the changeset viewer.