The sources using SDK I've seen so far (on github or else, including demo app) were very basic single threading applications, which mostly present (wrapped or not) dll's function calls from the main function.
Has anyone tried to make call of for instance
Code: Select all
PM3CSAFE_API ERRCODE_T tkcmdsetCSAFE_command(UINT16_T unit_address, UINT16_T cmd_data_size, UINT32_T cmd_data, UINT16_T *rsp_data_size, UINT32_T rsp_data);
I also understand what calling of init/shutdown and discovery functions concurrently may not be a good idea, but the rest?
I have experience with MT programming, synchronization, race conditions etc , so no problems must be there. Except, perhaps, some static variables or global data buffer possible used by any of SDK DLL in deep
So any1 pls?