I have two main questions.

1)      Is there a scanf or input function from reading input from the command 
line? I only see printf variants in the userlibs.

2)      I'm testing the threading demo. I have a printf statement in the main 
thread and a printf statement in the child threads (5 - 10). The main thread 
printf is always called. However, the children printf is called sometimes. So 
if ten printf are called from the main thread, then  4 or 6 (randomly it seems) 
children called their printf. It seems that printf does not lock the output 
stream. Is this correct? I plan to use mutexes to see if those fix the problem.


Best,
Chris J
_______________________________________________
codezero-devel mailing list
codezero-devel@lists.l4dev.org
http://lists.l4dev.org/mailman/listinfo/codezero-devel_lists.l4dev.org

Reply via email to