Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bcbeyhan1

    Using Pthreads with VC++ 6.0

    Well then umm what am i supposed to do to make this program work in the way i want? I really tried tons of combinations even read about all of the tutorials about the pthreads (oh and the tutorials also does not work correctly) I want to printout the value of timer every 100millisecond by using...
  2. bcbeyhan1

    Using Pthreads with VC++ 6.0

    ok i have tried the mutexes in this way : void *tickThread(void *null) { for (;;) { if ((timer % 100) == 1) { pthread_mutex_lock(&mutex); Sleep(5); printf("\n in tickThread and in if and Timer is : %u",timer); pthread_mutex_unlock(&mutex); } } return (void*)0; } void...
  3. bcbeyhan1

    Using Pthreads with VC++ 6.0

    I need some help in using pthreads (win32 version) with vc++. I have written some simple code to test the accuracy of pthreads in means of clock times or ticks then tried some combinations of sleep() function to make my program work in synch within the threads but nope it did not work or it...

Part and Inventory Search

Back
Top