I have built and tested a demo bundle for Xillybus and want to implement it on our system but I wanted to get some advice on how to proceed first,
The end goal is to have 2 separate data streams from the fpga to the pc, one stream would send data to be processed by the CPU then the other stream would dump a bunch of data to be processed by the GPU. Reading section 4.7 of the windows host programming guide it warns that the processes are not reentrant.
Is it possible to set up the code on the windows side to have 4 threads (two separate read and two separate write threads)? Is it even worth it to do so? Or should I just have one read thread and one write thread and some sort of condition to tell my code the size of the data and where to send it depending on which stream it is?
Thanks in advanced
