Author Topic: Is WCL multi-thread safe ?  (Read 1855 times)

Offline Veldrin

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Is WCL multi-thread safe ?
« on: March 05, 2010, 12:18:46 PM »
Hi,
I was wondering if WCL Library is multithread-safe.
By that I mean: if it is possible to run its functions from other thread than main application's thread.

Best regards.


Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3053
  • Karma: 1000
    • Soft Service Company
Re: Is WCL multi-thread safe ?
« Reply #1 on: March 05, 2010, 12:49:07 PM »
Hi,

It is thread safe but you must call functions and receive events in the same thread where object was created. It can be main thread or any other thread - but the same. It is not WCL but most BT drivers limitations.

 

Sitemap 1 2 3 4 5 6 7 8 9