Displaying 1 result from an estimated 1 matches for "fserv_cond".
2004 Aug 06
2
ICECAST enseirb group
...function in fserve.c file, can something
wrong
> > happen if we are between avl_tree_unlock(pending_tree); and
> > avl_tree_unlock(client_tree); in :
> >
> > ...
> > avl_tree_unlock(pending_tree);
> > avl_tree_unlock(client_tree);
> > thread_cond_wait(&fserv_cond);
> > continue;
> > ...
> >
> > if another thread add a client in the pending three before this thread
> > reaches the thread_cond_wait(&fserv_cond); line ? Could a client be
trapped
> > and not handled because this 3 lines are not an atomic action ?
> >...