C threads question

Posted by Nadeem on Stack Overflow See other posts from Stack Overflow or by Nadeem
Published on 2010-05-04T11:08:15Z Indexed on 2010/05/04 11:18 UTC
Read the original article Hit count: 140

Filed under:
|
|

Write program that has two threads one is reading numbers from the user and the other is printing them such that the first thread reads a new number only after it has been printed by the second thread. Declare one global varaible to use for reading and printing.

© Stack Overflow or respective owner

Related posts about c

    Related posts about threads