Article View: comp.sys.amiga.tech
Article #11585A little help please...
From: David Donley
Date: Fri, 24 Feb 1989 04:00
Date: Fri, 24 Feb 1989 04:00
26 lines
1727 bytes
1727 bytes
OK, I am having several small problems. First of all, I have two programs. A
program A and a program B. It appears that if program A has the serial.device
allocated in an exclusive manner, and program B tries to open it once,
everything is fine, and program B is locked out and errored. If program B
tries to open it twice, it opens! I can't figure this out, and for all I
know, it may just be something stupid I'm doing.
I want an interrupt to render graphics into a RastPort inside a window. I
need to know when the layer is locked, so I won't draw into it and cause a
lockup/crash/guru whatever.
I want to know how to allocate my own stack for a C program. I am writing a
BBS, and in the manual, it says "Stack 10000 at least!!!" over and over, but
people still complain of it crashing who haven't set the stack right. I have
trie many things, but none of them seem to work right from C. (Manx that is)
I once had it working great, but it crashed when it exited. If I can't
allocate it, I would like to at least be able to check it's size and abort
with an error. (I've tried looking at the bottom of the stack, which is
supposed to have this, but I can't seem to get it to work right either.)
Thanks!
PS: Call my BBS: Bug Eyes BBS at (213) 372-4494
UUCP: {ames!elroy, <backbone>}!gryphon!pnet02!ddave
INET: ddave@pnet02.cts.com
Technical Details
Message-ID:
<12492@gryphon.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!elroy!gryphon!pnet02!ddaveShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!elroy!gryphon!pnet02!ddave From: ddave@pnet02.cts.com (David Donley) Newsgroups: comp.sys.amiga.tech Subject: A little help please... Message-ID: <12492@gryphon.COM> Date: 24 Feb 89 04:00:51 GMT Sender: root@gryphon.COM Organization: People-Net [pnet02], Redondo Beach, CA. Lines: 26