lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] Multithreading without timers..


From: Kieran Mansley
Subject: [lwip-users] Re: [lwip] Multithreading without timers..
Date: Wed, 08 Jan 2003 23:12:40 -0000

On Mon, 5 Aug 2002, David Ryan wrote:
> My question is would it be possible to setup a seperate thread which only
> job is to move through all thread timeouts and manage them using a single
> timeout structure?  Thus allowing semaphores and mbox's to only return when
> a message arrives or semaphore is posted.

Yes, I think so.  If you OS doesn't provide timer support, then you'll
have to.  It doesn't need to be particularly snazzy, just provide the
ability to wake up another thread after a certain amount of time (usually
100's of ms).

Kieran


[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]