Path: utzoo!attcan!uunet!mcsun!sunic!tut!ra!rosenber From: rosenber@ra.abo.fi (Robin Rosenberg INF) Newsgroups: comp.sys.amiga.tech Subject: Re: How to match handler tasks with devices? Message-ID: Date: 12 Jan 90 15:14:47 GMT References: <610@xdos.UUCP> Sender: rosenber@ra.abo.fi Organization: Abo Akademi University, Finland Lines: 21 In-reply-to: doug@xdos.UUCP's message of 11 Jan 90 20:29:55 GMT !I tried looking at ExecBase->DeviceList, but didn't get far because I !can't figure out what it's a list of; anyone know? I know it's a struct List, !and I know that the elements start with struct Node, but I can't figure !out what structure follows the Node. Yes, I RTFM but couldn't find it !anywhere, nor were hex dumps enlightening. Its a list of struct Device's. Look at the ln_Type field and exec/nodes.h. However I don't th !That may be barking up the wrong tree anyway, so: what's a good way to !match up handler tasks/procs and the devices they handle?? I think so. I doubt a device has any idea of who's (ab)using it. Of course it know who to reply to but you don't get that infornation from the device. BTW! CodeProbe is nice when it comes to peeking at system structures. And poking if one's evil. ------------------- Robin Rosenberg