From: Christoph Hellwig <hch@infradead.org>
To: RANDAZZO@ddc-web.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: Semaphore with timeout....
Date: Thu, 12 Feb 2004 13:53:28 +0000 [thread overview]
Message-ID: <20040212135328.A2434@infradead.org> (raw)
In-Reply-To: <89760D3F308BD41183B000508BAFAC4104B16F65@DDCNYNTD>; from RANDAZZO@ddc-web.com on Thu, Feb 12, 2004 at 08:22:04AM -0500
On Thu, Feb 12, 2004 at 08:22:04AM -0500, RANDAZZO@ddc-web.com wrote:
>
> In reference to loadable kernel modules... (drivers)
>
> Is there a semaphore call that will either release with token or a specified
> amt of time....
There's no down_timeout. Unfortunately - at least the qlogic fibrechannel
driver would love to have a primitive for that.
Look at drivers/scsi/qla2xxx/qla_os.c:qla2x00_down_timeout() for a horrible
hack to emulate one.
next prev parent reply other threads:[~2004-02-12 13:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-12 13:22 RANDAZZO
2004-02-12 13:53 ` Christoph Hellwig [this message]
2004-02-12 16:15 ` Davide Libenzi
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=20040212135328.A2434@infradead.org \
--to=hch@infradead.org \
--cc=RANDAZZO@ddc-web.com \
--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®