On Fri, 26 Nov 2004 11:46:04 +0100, Joachim Van der Auwera <[EMAIL PROTECTED]> wrote:

Rich Mellor wrote:

Trouble is Per, that you cannot do all this within a device driver because it is running in supervisor mode.
I also understand that a non-directory device cannot open a channel to a file....


This is why the THING was envisaged

As the thing will be called in supervisor mode itself, it could just keep track of some "ready for use" channels which are then passed to the device driver when needed. Then the problem is fully solved. The thing itself checks whether there are still enough "waiting devices" and allocates new devices in user mode which are queued for use by the device (in supervisor mode).


Joachim

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm



Hmm - still hoping someone will put themselves forward to look at writing the THING


Does anyone have some source code I could look at for creating THINGs and using them?? Need more than a simple example I guess - would of course not disclose it to anyone without permission if it is for a commercial product....

--
Rich Mellor
RWAP Services
26 Oak Road, Shelfield, Walsall, West Midlands WS4 1RQ

http://www.rwapservices.co.uk/

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to