Hi,
Attached is the http_srv code under question. I think the source of the problem is when lwip_accept is called again after creating the thread. The HTTP thread does not execute at all when lwip_accept in main() is invoked again. However, when i insert a call to sleep in the infinite loop, the HTTP thread executes. I also suspect I might not have done enough to make the server truly multithreaded.
Peter
Quoting Christian Helmuth <christian.helmuth@...1...>:
Hello Peter,
On Wed, Apr 28, 2010 at 04:47:00PM +0930, Peter Nguyen wrote:
Any ideas as to what's going on?
From your description, I guess your code is buggy, but you (again) did not send sources. Maybe someone on the list could help you, if you send the relevant code snippets from your program.
Ciao
Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main