On 02/09/2011 01:12, vincent cui wrote: > HI : > > I want to create a semaphore (value is 10) to deal with max connection . but > freertos only provide mutex and binary semaphore... > Is there other way to come it true ?
Yes. http://www.freertos.org/CreateCounting.html Regards, Richard. + http://www.FreeRTOS.org Designed for Microcontrollers. More than 7000 downloads per month. > > ï»?Vincent Cui > Sr.Firmware Engineer > Mobile: +8613482482211 > Tel: +86 21 34612525x6104 > Fax: +86 21 34619770 > E-Mail: [email protected] > Shanghai EnLogic Electric Technology Co., Ltd. > Address: 1104-1106, Building A, No.391, Guiping Road, Xuhui District, > Shanghai, 200233 > http://www.enlogic.com > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Kieran Mansley > Sent: 2011Äê9ÔÂ2ÈÕ 3:22 > To: Mailing list for lwIP users > Subject: Re: [lwip-users] FreeRTOS / lwip multiple connections > > > On 31 Aug 2011, at 01:18, vincent cui wrote: > >> K: >> You mean I need make accept socket to be non-blocking , right ? > > No, I'm not sure why you need any of your sockets to be non-blocking. > > Kieran > > _______________________________________________ > lwip-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users > _______________________________________________ > lwip-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
