On Thu, Jan 09, 2014 at 05:52:21PM +0100, Richard Braun wrote:
> On Thu, Jan 09, 2014 at 05:06:09PM +0100, Marin Ramesa wrote:
> > >> +                        simple_lock(&futex_shared_lock);
> > >> +                                
> > >> +                        thread_timeout_setup(current_thread());
> > >> +
> > >> +                        assert_wait(NULL, TRUE);
> > >> +                        thread_will_wait_with_timeout(current_thread(), 
> > >> (unsigned
> > >int)msec);
> > >> +
> > >> +                        simple_unlock(&futex_shared_lock);
> > >> +                        
> > >> +                        thread_block(NULL);

By the way, why is thread_timeout_setup called here ? It really looks
wrong here.

-- 
Richard Braun

Reply via email to