Sleep() ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Uli Kunkel

    Sleep() ?

    I have to wait in a loop until some condition is true.
    What I want is to have some function that doesn't take the resources
    while waiting.

    Thanks for any suggestions.
  • Maxim Yegorushkin

    #2
    Re: Sleep() ?

    On Nov 12, 12:26 pm, Uli Kunkel <genija...@yaho o.comwrote:
    I have to wait in a loop until some condition is true.
    What I want is to have some function that doesn't take the resources
    while waiting.
    Take a look at wait_for_data_t o_process() function in


    --
    Max

    Comment

    • DJ Dharme

      #3
      Re: Sleep() ?

      On Nov 12, 5:26 pm, Uli Kunkel <genija...@yaho o.comwrote:
      I have to wait in a loop until some condition is true.
      What I want is to have some function that doesn't take the resources
      while waiting.
      >
      Thanks for any suggestions.
      I thinks he is looking for something like "select" function.

      Comment

      • DJ Dharme

        #4
        Re: Sleep() ?

        I thinks he is looking for something like "select" function.
        Sorry typo, the correct form would be

        I think he is looking for something like "select" function.

        Try googling for "select function"

        Comment

        • Uli Kunkel

          #5
          Re: Sleep() ?

          Maxim Yegorushkin wrote:
          On Nov 12, 12:26 pm, Uli Kunkel <genija...@yaho o.comwrote:
          >I have to wait in a loop until some condition is true.
          >What I want is to have some function that doesn't take the resources
          >while waiting.
          >
          Take a look at wait_for_data_t o_process() function in

          >
          --
          Max
          I think that external library (50MB) is maybe a overkill for just this
          one task.
          Is there some other solution?

          Comment

          Working...