Re: [PATCH] Hang when moving between editing marks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Sonntag 08 Mai 2005 16:37 schrieb Klaus Schmidinger:
> Sebastian Frei wrote:
> > I applied the patch, but it doesn't work as good as the sched_yield
> > "patch".
> >
> > Now it takes between 3 and 8 seconds when moving or jumping between
> > cutmarks, with the sched_yield this was possible instantly.
>
> What happens if you put a
>
>    cCondWait::SleepMs(1);
>
> instead of the sched_yield()?
> Maybe Reinhards remark about putting the sleep() outside of the locked area
> is the key...
>
> Klaus
OK, I undid the previous patch and replaced the sched_yield... with 
cCondWait....

It works perfectly again.

Now I'll try your 2. suggestion.

S.


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux