lwip-members
[Top][All Lists]
Advanced

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

[lwip-members] Seems Error to me!!


From: Jack Carlson
Subject: [lwip-members] Seems Error to me!!
Date: Mon, 23 Jun 2003 21:26:36 -0700 (PDT)

Hi All,
      In the function sys_mbox_post function the member variable last of the structure sys_mbox is never decremented any where. So after posting 128 messages which is defined by the #define SYS_MBOX_SIZE the application blocks so that the tcpip_thread function can read some messages. Would’nt it be better to decrement the last data member (or even reinitializes it to 1 as we do for first data member)  when the last is equal to first!!! in function sys_mbox_post???
Regards
Amit


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
reply via email to

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