Multithreading support in the NXC way:
tasks, ExitTo(), start, stop.
Optionally Precedes(), and Follows(), but not necessary. These commands were never really useful, and were only the result of the architecture of the NXT VM.
Planning on using pthread, with an global array of structures containing a thread_id, a running boolean, and an function pointer, in order for the end-user to only need to use task ( = void* function) identifiers.
Multithreading support in the NXC way: tasks, ExitTo(), start, stop. Optionally Precedes(), and Follows(), but not necessary. These commands were never really useful, and were only the result of the architecture of the NXT VM.
Planning on using pthread, with an global array of structures containing a thread_id, a running boolean, and an function pointer, in order for the end-user to only need to use task ( = void* function) identifiers.
Easy-to-use mutex wrapper also needed.