Hi, From: Mitani Hiroshi <[EMAIL PROTECTED]> Subject: Re: [lwip-users] timeout argument in sys_arch_*() functions Date: Fri, 17 Jun 2005 16:30:12 +0900
> 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? Assuming that you are porting lwIP on some multi-threaded system... netconn_new_with_proto_and_callback() sends a msg to conn->mbox and waits for tcpip_thread processing it. tcpip_thread will handle the msg and call sys_mbox_post(msg->conn->mbox, NULL) at the end of do_new_conn() in api_msg.c. Hope that helps, Shuji Kuwahara _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
