Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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
    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
    Registered Linux user #270181

  4. $spacer_open
  5. #4
    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?

  6. #5
    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