Subversion Repositories HelenOS

Rev

Rev 4522 | Rev 4633 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4522 Rev 4528
Line 62... Line 62...
62
 
62
 
63
/** Number of threads that are executing a manager fibril. */
63
/** Number of threads that are executing a manager fibril. */
64
static int threads_in_manager;
64
static int threads_in_manager;
65
/** Number of threads that are executing a manager fibril and are serialized. */
65
/** Number of threads that are executing a manager fibril and are serialized. */
66
static int serialized_threads;  /* Protected by async_futex */
66
static int serialized_threads;  /* Protected by async_futex */
67
/** Thread-local count of serialization. If > 0, we must not preempt */
67
/** Fibril-local count of serialization. If > 0, we must not preempt */
68
static __thread int serialization_count;
68
static fibril_local int serialization_count;
69
 
69
 
70
/** Setup fibril information into TCB structure */
70
/** Setup fibril information into TCB structure */
71
fibril_t *fibril_setup(void)
71
fibril_t *fibril_setup(void)
72
{
72
{
73
    fibril_t *f;
73
    fibril_t *f;