You are here

Multithread with CyApi | Cypress Semiconductor

Multithread with CyApi

Summary: 1 Reply, Latest post by VAVC on 17 Jul 2014 04:35 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
beltran's picture
9 posts


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?




VAVC's picture
Cypress Employee
506 posts

 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.




Log in to post new comments.