Re : [HW_RNG] How to use generic rng in kernel space

From: moreau francis
Date: Tue Aug 01 2006 - 09:25:56 EST


> O_NONBLOCK doesn't necessarily imply "never sleep", it implies "don't
> sleep waiting for an event/long time". So where the mutex is just
> serializing access to hardware that will be very brief it is fine not to
> check O_NONBLOCK/FNDELAY.

Thank you Alan for answering ! One more question I hope you don't mind...
I'm not very confident with all these POSIX definitions. Do you have any
pointers that I should know to get more familiar with them ?

Thanks

Francis





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