code in code::block

code in code::block


Threads Program using c on linux/fedora

Posted: 28 Dec 2012 04:15 AM PST

<!-- @page { margin: 0.79in } P { margin-bottom: 0.08in } This program creates a single extra thread, shows that it is sharing variables with the original thread, and gets the new thread to return a result to the original thread. Multithreaded programs don't get much simpler than this. Lets look the function which create the thread. pthread_create creates a new thread,much as fork


Post a Comment