Changeset 63bb83e in mainline for libc/generic/psthread.c


Ignore:
Timestamp:
2006-06-06T16:18:37Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0d11fc1c
Parents:
085bd54
Message:

Fixed bad TLS BSS initialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/psthread.c

    r085bd54 r63bb83e  
    5353static int serialized_threads; /* Protected by async_futex */
    5454/** Thread-local count of serialization. If >0, we must not preempt */
    55 static __thread serialization_count;
     55static __thread int serialization_count;
    5656/** Counter of threads residing in async_manager */
    5757static int threads_in_manager;
     
    9090        psthread_data_t *pt = __tcb_get()->pst_data;
    9191
    92         serialization_count = 0; // TODO: WHY HERE?
    9392        pt->retval = pt->func(pt->arg);
    9493
Note: See TracChangeset for help on using the changeset viewer.