Find the answer to your Linux question:
Results 1 to 5 of 5
i found this function in some code: interruptible_sleep_on_timeout(&usbdriver->writewait, timeout) i am trying to find out what the unit is for timeout in this particular function... looking for it on google ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Posts
    13

    value of timeout in interruptible_sleep_on_timeout(&usbdriver->writewait, timeout)


    i found this function in some code: interruptible_sleep_on_timeout(&usbdriver->writewait, timeout) i am trying to find out what the unit is for timeout in this particular function... looking for it on google is a big headache. any ideas??

  2. #2
    Just Joined!
    Join Date
    Feb 2006
    Posts
    13
    ok i found out its in jiffies... and apparantly jiffies are different for different OS? any idea what it might be in SuSE 9.3?

  3. #3
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Registered Linux user #270181
    TechieMoe's Tech Rants

  4. #4
    Just Joined!
    Join Date
    Feb 2006
    Posts
    13
    do you think it is possible that the value of a jiffy in the 2.6 kernel could be different from what it is defined as in the 2.4?

  5. #5
    Just Joined!
    Join Date
    Feb 2006
    Posts
    13
    well you might be interested to know that in the 2.6 kernel a HZ is defined as 1000 jiffies as opposed to 100 in the 2.4 kernel just to make everyones lives a bit more complicated.

    sorry about the double posting.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •