From: "Mockern" <Mockern@yandex.ru>
To: hjk@linutronix.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: Question: 20 microseconds delay
Date: Sat, 3 Mar 2007 17:47:21 +0300 (MSK) [thread overview]
Message-ID: <45E98A79.000001.09982@colgate.yandex.ru> (raw)
In-Reply-To: <200703031533.42152.hjk@linutronix.de>
The problem is that I need to use wait_event_timeout function
>Am Samstag 03 Mдrz 2007 15:20 schrieb Mockern:
>> Hi,
>>
>> I have a question.
>>
>> I need to use 20 microsecond delay in my driver.
>> What exact jiffies value I should define to get 20 microseconds?
>
>You can't do it with jiffies as they have 1 millisecond resolution at best.
>You'd use something like usleep(20) instead.
>
>Hans
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
--
Сегодня удачный день, чтобы завести почту на Яндексе http://mail.yandex.ru
next prev parent reply other threads:[~2007-03-03 14:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-03 14:20 Mockern
2007-03-03 14:32 ` Jiri Slaby
2007-03-03 14:46 ` Mockern
2007-03-03 14:52 ` Jiri Slaby
2007-03-03 14:33 ` Hans-Jürgen Koch
2007-03-03 14:47 ` Mockern [this message]
2007-03-03 21:02 ` Bill Davidsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45E98A79.000001.09982@colgate.yandex.ru \
--to=mockern@yandex.ru \
--cc=hjk@linutronix.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®