public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: mohammedazad@nestec.net
Cc: linux-kernel@vger.kernel.org
Subject: [OT] Re: WaitForSingleObject in linux????..
Date: Mon, 08 Jan 2001 13:56:11 +0100	[thread overview]
Message-ID: <3A59B8EB.6DA1D078@colorfullife.com> (raw)

I would try to:

* implement foo_poll() in the kernel driver.
* the user space app calls select() or poll().

WaitForSingleObject should be easy to replace.

WaitForMultipleObjects could be tricky if you wait for different events
(e.g. wait until either the kernel driver has new data, or another
process exits, or a pthread_mutex is released by another thread).

> I am porting a NT driver and app into linux...

Good luck, I hope you release the kernel driver under GPL

--
	Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

                 reply	other threads:[~2001-01-08 12:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3A59B8EB.6DA1D078@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mohammedazad@nestec.net \
    /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