Now takes tid pointer, to allow actual use of tid later on.
Now returns completion status of pthread_create
Now takes tid pointer, to allow actual use of tid later on.
Now returns completion status of pthread_create
improved function calls
added additional functions
changed paramaters to be passed
now uses tid handles properly
Shows updated function return parameters, and input arguments (mainly pthread tid related)
Prototype of the function to be spawned to grab input from the controllers