lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] [lwip] sys_timeout()


From: Peter Graf
Subject: [lwip-users] [lwip] sys_timeout()
Date: Wed, 08 Jan 2003 21:49:36 -0000

Adam Dunkels wrote:

>Time-outs are functions that are called after a specified amount of time.
The 
>time-out functions must not be executed concurrently with the thread which 
>sets the time-out, not can they be called in an interrupt context.

Am I right with the following assumptions?

1. The call to sys_timeout() shall not block the calling thread.

2. Even if the time is over, the system must not call the timeout handler
unless the thread which called corresponding sys_timeout() blocks.

3. After finishing the timeout handler, execution continues with the thread
that has been running before the timeout handler was invoked by the system.

Thanks,

Peter

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




reply via email to

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