Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
Q

quixqx

@quixqx
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Sorting algorithm
    Q quixqx

    find out how value_compare(), it will compare the values that way you will know which key comes first

    C / C++ / MFC algorithms

  • pthread in c++ (LINUX)
    Q quixqx

    thanx, I do pthread_join() call for all my threads but the sleeping ones do not get there. From the sample file, I have to create about five thread, only two are required to delay. The delayed threads do not get to the pthread_join() call but the other three get there. Seems the programs continues running as if there are no sleeping threads.

    C / C++ / MFC c++ linux question

  • pthread in c++ (LINUX)
    Q quixqx

    Hi I wrote a code that has multiple threads, each thread has to run independent of another and complete at different times. I tried using the sleep() function to delay execution for some seconds but the program terminates while threads are still sleeping. I also tried using usleep() function, its works fine with small parameters but behave the same as sleep() with large parameters. Is there anyway that I can delay program termination until my threads are awake and have completed there task? OR Is there a better way of delaying the threads other than using sleep() and usleep()? Thanx

    C / C++ / MFC c++ linux question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups