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 SkipVought 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: *

  • Users: mighk
  • Order by date
  1. mighk

    Semaphores and CPU usage relationship

    Tnx for the insight man. But i wonder why this doesn't happen after my program has finished initialization were all the threads are blocked at semop(). cpu usage at this state is bellow 1%. after i run the program ( a thread calls semop(+) ), the cpu usage starts to rise (understandably). But...
  2. mighk

    Semaphores and CPU usage relationship

    When a thread is blocked at a semaphore (e.g. in semop()), does the thread really become idle (no operations), or will it poll inside the semop() operation waiting for a free resource? I have this multithreaded program that when all threads are blocked at semop(), the CPU usage does not go below...

Part and Inventory Search

Back
Top