RE: ithread_cond_wait in ithread library
"Alexander Gdalevich" <[email protected]> Mon, 18 Jul 2005 14:23:29 -0400
| Newsgroups | gmane.linux.upnp-sdk.general |
|---|---|
| Message-ID | <[email protected]> |
You mean code like : ithread_mutex_lock( &tp->mutex ); does not work. There could be a few things wrong. First, the UPNP code assumes that the function will return zero on success and non-zero on failure. Not all thread libraries work this way, you may want to make sure that yours works this way. You may also want to make sure that the mutex is properly initialized. Good luck. ---------------------------------------------------------------- "Normal people ... believe that if it ain't broke, don't fix it. Engineers believe that if it ain't broke, it doesn't have enough features yet." >From: "The SZ" <[email protected]> >To: [email protected] >Subject: [UPnP-SDK-discuss] ithread_cond_wait in ithread library >Date: Mon, 18 Jul 2005 16:47:32 +0000 > >Hi, > >I have the same problem as Maryam, the tp->mutex lock doesn't work in >CreateWorker/ThreadPoolInit . I'm using Snapgear too. > >Does anyone has some clues? > >Steffen > > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >UPnP-SDK-discuss mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/upnp-sdk-discuss ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click