All of lore.kernel.org
 help / color / mirror / Atom feed
* Preventing signal interrupt in Kernel module code
@ 2002-09-13 13:54 ` Kevin Curtis
  0 siblings, 0 replies; 11+ messages in thread
From: Kevin Curtis @ 2002-09-13 13:54 UTC (permalink / raw)
  To: linux-newbie, linux-kernel

Hi,
	I have written a Kernel module and I'm having a small problem with
signals that I hope someone can steer me through.  The signal in question
are SIGCHILD, but that is not really relevant.  I must be able to handle any
signal that the process has enabled.

	My module has several wait queues, most of which I can cope with
being interrupted by a signal (returning EINTR to the process).  However,
there are some hardware operations that I need to wait for completion of, as
it would be impossible to restart them or pick up where we left off.  I
still want to use a wait queue so other things can run.  Is there some
system call I can make to mask signals until the operation has completed.
Would I still call signal_pending() to see if one had occurred while they
were blocked?

I'm sure the answer is really simple but I haven't stumbled across it yet.

TIA

Kevin
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-09-14  9:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-13 13:54 Preventing signal interrupt in Kernel module code Kevin Curtis
2002-09-13 13:54 ` Kevin Curtis
2002-09-13 15:56 ` Quinn Harris
2002-09-13 18:33 ` Bill Pleasants
2002-09-13 15:39   ` Ken Boyer
2002-09-13 15:53   ` Ray Olszewski
2002-09-13 16:00     ` Ken Boyer
2002-09-13 21:33     ` starts error Bill Pleasants
2002-09-13 19:48       ` Ray Olszewski
2002-09-14  9:20       ` pa3gcu
2002-09-13 20:06   ` Preventing signal interrupt in Kernel module code Bryan Whitehead

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.