Anonymous
Not applicable
Jul 16, 2014
03:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 16, 2014
03:44 PM
Hi,
I am developing with Windows 7 - 32 bit. I am using CyApi with CY68013A. Can I use CyApi transfer functions ( p.e. XferData..) from two thread without mutex or semaphore, or I need to protect every call with mutex or other?
Thanks
Begos
1 Reply
Anonymous
Not applicable
Jul 17, 2014
04:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 17, 2014
04:35 AM
Hi ,
It is better to use BeginDatXfer instead of Xferdata. Once if the first one is in the execution then the second one will be in the queue and once the ifrst one is completed the second one can start. But if the time out happen for the second one it will fail.
Regards,
Vikas.