Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: Livio on August 07, 2009, 11:34:32 PM

Title: wclOppClient synchronization
Post by: Livio on August 07, 2009, 11:34:32 PM
Hi, i have a problem with more wclOppClient objects.
I use multiple thread, for each device discovered.
When i start a thread it completes his operation but the next thread doesn't start. Why ?
 
How can i synchronize this threads??

I look your OPPThread example, but it has some errors...

Regards
Title: Re: wclOppClient synchronization
Post by: Mike Petrichenko on August 08, 2009, 07:31:35 AM
Hi,

because you have to have some loop in thread to lock the thread. Use search, it was discussed on this forum. Also, take a look at thread demo included in the WCL package.