Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!ucbvax!hoser.berkeley.edu!bryce From: bryce@hoser.berkeley.edu (Bryce Nesbitt) Newsgroups: comp.sys.amiga Subject: Re: Help on Access to Exec system lists in C Message-ID: <21555@ucbvax.BERKELEY.EDU> Date: Mon, 2-Nov-87 03:37:27 EST Article-I.D.: ucbvax.21555 Posted: Mon Nov 2 03:37:27 1987 Date-Received: Thu, 5-Nov-87 23:14:19 EST Sender: usenet@ucbvax.BERKELEY.EDU Lines: 30 Keywords: C, exec, lists In article <1492@ssc-vax.UUCP> bact@ssc-vax.UUCP (Archie A. Auxter) writes: >Does anybody out there know how to get access to the system lists that >Exec keeps? I know about the list routines provided by exec, but I >want to get pointers to the head of certain lists. I'm about to hand you a loaded gun. You must use extreme caution when accesing exec lists. The list headers are defined in the include file "exec/execbase.h". Forbid() and Permit() are the proper arbitration mechanisms for *some* of these lists. The rest require Disable() Enable() and *very* quick code. >I'd also like to >be able to get access to any lists held in Intuition. >I'd like to be able to access the head of the list where windows >are kept. Now that gun is a 16mm cannon. The list headers are defined in the include file "intuition/intutionbase.h". The proper arbitration here is the Intuition function key=LockIBase(0L); and UnLockIBase(key). Search you newsfeed backwards for an article by Jim Mackraz (jimm) on this point. |\ /| . Ack! (NAK, SOH, EOT) {o O} . bryce@hoser.berkeley.EDU -or- ucbvax!hoser!bryce (") U "You can count how many seeds are in an Apple, but not how many Apples are in a seed." -Ken Kesey