🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #728

Re: Help with Multitasking and Multiple Windows

#728
From: Deven T. Corzine
Date: Sat, 05 Aug 1989 21:52
21 lines
1513 bytes
On 4 Aug 89 18:36:17 GMT,
jesup@cbmvax.UUCP (Randell Jesup) said:

Randell>        Many of those don't involve layers, just the rastport.
Randell> There is no locking of rastports.  What you need to do is
Randell> create multiple rastports refering to the same bitmap/layers.
Randell> I believe copying the entire rastport is kosher, provided you
Randell> also make new tmpras's if you have one (i.e. don't try to
Randell> share a tmpras.)  Then a SetAPen will only affect one
Randell> process, not both/all.

Unless he wants to share the rastport and pen colors and whatnot...
Adding some semaphore locking would work nicely as well...

Deven
--
Deven T. Corzine        Internet:  deven@rpi.edu, shadow@pawl.rpi.edu
Snail:  2214 12th Street, Troy, NY 12180       Phone:  (518) 271-0750
Bitnet:  deven@rpitsmts, userfxb6@rpitsmts     UUCP:  uunet!rpi!deven
Simple things should be simple and complex things should be possible.
Technical Details
Message-ID: <SHADOW.89Aug5175257@pawl.rpi.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!leah!rpi!pawl!shadow
References: <15645@watdragon.waterloo.edu> <7541@cbmvax.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!leah!rpi!pawl!shadow
From: shadow@pawl.rpi.edu (Deven T. Corzine)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Help with Multitasking and Multiple Windows
Message-ID: <SHADOW.89Aug5175257@pawl.rpi.edu>
Date: 5 Aug 89 21:52:57 GMT
References: <15645@watdragon.waterloo.edu> <7541@cbmvax.UUCP>
Sender: usenet@rpi.edu
Distribution: comp
Organization: Rensselaer Polytechnic Institute, Troy, NY
Lines: 21
In-reply-to: jesup@cbmvax.UUCP's message of 4 Aug 89 18:36:17 GMT