I want to build an multi thread program.
1 st thread modify the GPIO, and make accurate time for GPIO pulses. (I use WiringPI OP)
2 st thread create anything else.
Please write an thread example. I need thread sleep function (for 1 st thread). Expectation in the sleep the OPI CPU load=0%