How to pass value from one thread to another ?

Hey guys, I've created a project that includes 2 threads. The main (HAL) thread, does some calculations and then needs to pass the result to a function in another thread.

 I tried declaring the variable as external, but i got no luck.

What is the easiest way to achieve this ?

Parents Reply Children
No Data