|
From: | Mitani Hiroshi |
Subject: | Re: [lwip-users] timeout argument in sys_arch_*() functions |
Date: | Fri, 17 Jun 2005 16:30:12 +0900 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 |
Thank you for your response. Kieran Mansley wrote:
On Thu, 16 Jun 2005, Mitani Hiroshi wrote:My question is that if the "timeout" argument is zero, should the thread wait for signal, or just poll a semaphore and quit immediately?Timeout of zero means block forever until the semaphore is signalled. i.e. No timeout.
Thank you. This helps me. I could write my sys_arch.c. But I have met next problem. Socket() does not work. It seems that it is waiting (forever) for message in netconn_new_with_proto_and_callback():sys_mbox_fetch(conn->mbox, NULL);. Who will send a message to this mailbox? -- mitani
[Prev in Thread] | Current Thread | [Next in Thread] |