Quantcast
Channel: CUDAfy.NET
Viewing all articles
Browse latest Browse all 1169

New Post: Issues with multithreading

$
0
0
Hi,

Just for informational purposes, I`ve been able to solve this issue by setting the .NET task scheduler (which runs the parallel tasks/threads) to
TaskScheduler.FromCurrentSynchronizationContext
instead of
TaskScheduler.Default
which was the root cause of the errors.

Regards
Daniel

Viewing all articles
Browse latest Browse all 1169

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>