Kieran Mansley wrote: >> >> 1. Can I, for instance, have multiple threads managing their own sockets? >> i.e. can I do a http server as a thread, creating/using/closing while I >> have another thread doing similar stuff on another port? >> >> 2. I guess that each socket in it self is not threadsafe; i.e. I cannot >> create a listen thread, and another writing thread using the same socket. >> ( this would surprise me, but I thought I should ask ;-) ) > > 2 definitely won't work. 1 might work. Safest would be to direct all > socket access through a single thread.
I think if 1 didn't work we'd call that a bug which needs to be fixed. 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. ------["Si fractum non sit, noli id reficere"]------ Opinions==mine _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
