Hi,

Any idea how to go about implementing sometype of multi-Threading in pure ANSI C.

I understand that in Linux, one would use pthreads, in windows one would create threads through the WinAPI.

Is there a way to manually implement this logic in only ANSI C thus making it cross-platform/portable?

In other words, what sort of logic would you use to split a CPU's time between 2 functions in the same program to allow them to run concurrently?