1 Reply Latest reply on Jul 17, 2014 4:35 AM by vikasv_56

    Multithread with CyApi



      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?







        • 1. Re: Multithread with CyApi

           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.