lwip-users
[Top][All Lists]
Advanced

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

Re: RE : [lwip-users] New requirement for ports: sys_arch_mbox_tryfetch


From: Jonathan Larmour
Subject: Re: RE : [lwip-users] New requirement for ports: sys_arch_mbox_tryfetch
Date: Thu, 12 Apr 2007 02:30:25 +0100
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc3.4.legacy (X11/20060515)

Frédéric BERNON wrote:
I think it will be good to update sys_arch.txt with this new information...

Good point! I don't know how I forgot about that.

About the macro you suggest, is it something like this :
#define sys_arch_mbox_tryfetch(mbox,msg) sys_arch_mbox_fetch(mbox,msg,1)

?

That's one possible implementation that would preserve the existing behaviour, but maintain the 1ms delays. Actually clocks won't necessarily be at such a low granularity as 1ms, so people may have been finding the delays are longer even - 10ms would be more common.

Jifl
--
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------      Opinions==mine




reply via email to

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