Changeset 26360f7 in mainline for uspace/lib/libc/generic/fibril.c


Ignore:
Timestamp:
2009-06-12T19:44:25Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1806e5d
Parents:
9ae22ba
Message:

Use 'fibril_local' modifier for fibril-local variables instead of 'thread'. Since it is decalred in fibril.h, it need not begin with ''.

File:
1 edited

Legend:

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

    r9ae22ba r26360f7  
    6565/** Number of threads that are executing a manager fibril and are serialized. */
    6666static int serialized_threads;  /* Protected by async_futex */
    67 /** Thread-local count of serialization. If > 0, we must not preempt */
    68 static __thread int serialization_count;
     67/** Fibril-local count of serialization. If > 0, we must not preempt */
     68static fibril_local int serialization_count;
    6969
    7070/** Setup fibril information into TCB structure */
Note: See TracChangeset for help on using the changeset viewer.