RE: Going to sleep atomically

Started by Kári Davíðsson on Mar 8, 2001

open the first message on its own page

Message details and related content
Like in blocking read() and poll() etc?
interruptable_sleep_on()
or
sleep_on()

in poll() use poll_wait()

K.D.

P.S.
"Linux Device Drivers" by Rubini is an excellent guide to driver
writing, although
it is getting quite old (in kernel-time space).
Other drivers can serve as tutrials too.

K.D.
-----Original Message-----
From: Ralph Blach [mailto:<redacted>]
Sent: 8. mars 2001 13:38
To: Embedded Linux list
Subject: Going to sleep atomically


In a device driver, What is the best way to go to sleep atomically?

Thanks

Chip
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help