This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Timeslicing on arm
On Sun, Aug 31, 2008 at 09:20:43PM +0200, Martin Hansen wrote:
> Hi
>
> I am havinf trouble getting my litle program to work.
> I make two threads each writting to the seriel port, I exspected them
> to both get some output on the port, probably mixed in strange ways.
> (It should be a demo of when to use syncronisation objects.)
>
> But all runtime is given to just the one thread.
>
> They have the same priority, mlque is used as scheduler, and
> CYGSEM_KERNEL_SCHED_TIMESLICE is true
>
>
> It does not apear the that it is the serial port that somehows just
> belongs to one thread or other error, setting a breakpoint in the
> other thread will newer trigger
Thank about how mutex affect round robin scheduling....
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss