Re: Limitations Within a Driver
File I/O (meaning anything that goes through a file descripter, including sockets and pipes) is just not a good thing from inside a driver. From a strictly technical point you can do it, but it is tricky, expensive, and fragile. In short it is a bad idea. If you are asking about BSD style signals, they are a process based concept, thread delivery is difficult in userland when you are multithreaded. In the kernel they just don't work like that. Louis On Sunday, November 25, 2001, at 10:22 PM, Sean Morrell wrote: Can named pipes, sockets and signals be used from within a driver, specifically an I/O Kit kernel audio driver? I have been told that disk I/O cannot be performed from within a driver? Is this true? If so, does this exclude the use of a disk based IPC such as a named pipe? Thanks, Sean _______________________________________________ darwin-kernel mailing list darwin-kernel@lists.apple.com http://www.lists.apple.com/mailman/listinfo/darwin-kernel
participants (1)
-
Louis Gerbarg