Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rochester!cornell!uw-beaver!mit-eddie!ll-xn!ames!ucbcad!ucbvax!ucdavis!egg-id!ui3!wsucshp!kinner From: kinner@wsucshp.UUCP (Bill Kinnersley ) Newsgroups: comp.sys.amiga Subject: Three Little Questions Message-ID: <160009@wsucshp.UUCP> Date: Sun, 28-Jun-87 22:43:42 EDT Article-I.D.: wsucshp.160009 Posted: Sun Jun 28 22:43:42 1987 Date-Received: Wed, 1-Jul-87 05:48:08 EDT Organization: WSU Computer Science Lines: 29 Can anyone help me with the following questions? 1) intuition/intuition.h says: "The flag ENDGADGET, when set, tells the system that this Gadget, when selected, causes the Requester or AbsMessage to be ended." What is (or was) an AbsMessage? 2) When I close the Window which is currently active, which Window will become active next? 3) Is there any way to assure mutual exclusion when accessing AmigaDOS structures? In particular, after I get a DISKREMOVED message, I go to examine the DeviceList, and I'm catching it in the act of being changed. Forbid()..Permit() is not the answer. What I need is a semaphore, lock, resource--call it what you will. I want to delay myself long enough until AmigaDOS is through. --- "Nesting is for the birds" --Bill Kinnersley USENET: ...!ucbvax!ucdavis!egg-id!ui3!wsucshp!kinner INTERNET: kinner%wsu@RELAY.CS.NET CSNET: kinner@cs1.wsu.edu MAIL: CS Dept, Washington State Univ, Pullman WA 99164-1210 PHONE: (509)332-3340