Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!egrunix!cogswell From: cogswell@egrunix.UUCP (Dan Cogswell) Newsgroups: comp.sys.amiga.tech Subject: Re: Parent/child processes Message-ID: <191@egrunix.UUCP> Date: 4 Oct 89 00:56:05 GMT References: <186@egrunix.UUCP> <8068@cbmvax.UUCP> Reply-To: cogswell@unix.secs.oakland.edu.UUCP (Dan Cogswell) Organization: Oakland University, Rochester, MI Lines: 33 In article <8068@cbmvax.UUCP> mks@cbmvax.UUCP (Michael Sinz - CATS) writes: >Check the bindings and/or pragma for RemSemaphore as some error in older >AutoDocs and AMIGA.LIB files had the parameter in the incorrect register. >I should be in A1. > I'm using Benchmark M2 and I gave Leon Frenkl a call down there and he says his glue routines load into A1. Without a debugger, I have no good way of checking if this is true, but I trust him. Here's an example that fails: MODULE Junk. FROM Semaphores IMPORT (etc...) VAR mutex:SignalSemaphore; BEGIN InitSemaphore(mutex); AddSemaphore(mutex); RemSemaphore(mutex); (* CRASH CITY!!! *) END Junk. Am I doing something wrong?? *-----------------------------------------------------------------* |Dan Cogswell "Gangster Fun -- It's the beat | |(313)625-3234 that you can wig-out to..." | |cogswell@unix.secs.oakland.edu | *-----------------------------------------------------------------*