🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ALINK,ML,and Metacomo Pascal (URGENT!)

#8152
From: D. LORRE
Date: Sat, 09 Feb 1991 02:20
28 lines
1817 bytes
In article <44138@nigel.ee.udel.edu> Dennis_Grant%CMR001.bitnet@ugw.utcs.utoronto.ca writes:
>
>     OK, the story so far:
[stuff deleted]
>
>     Now it was time for adding tasks. Each task is a Pascal procedure
>that writes a character to the output window, and loops forever. Problem:
STOP!!!! Sorry but you cannot write anything to a console window from
within a Task : you need a true Process. As you do not have much time
and so am i, I would suggest you to create as much programs as you were 
needing tasks and make them talk altogether via messages and Ports. I know
this less elegant than using task or processes but it will work and is
not very difficult to program.

Functions that could be helpful are Execute(), Signal(), ObtainSemaphore()
SendMsg() and the others ...
Or you could try to CreateProc, but the problem would remain the same.
There is a system function , FindTask(0) that give you the address of
your own task. This could be a starting point.
>
>-------------------------------------------------------------------------------
>  Dennis Grant   3rd year CS student at Le College Militaire Royal de St-Jean
>  DETUD595@CMR001.BITNET
>  How much do I love thee? My accumulator overflows!

UUCP: ... cbmvax!cbmehq!cbmfra!dlorre
Tous ces mysteres nous depassent : feignons d'en etre l'organisateur.
Jean Cocteau
Technical Details
Message-ID: <1008@cbmfra.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!cbmehq!cbmfra!dlorre
References: <44138@nigel.ee.udel.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!cbmehq!cbmfra!dlorre
From: dlorre@cbmfra.UUCP (D. LORRE)
Newsgroups: comp.sys.amiga.tech
Subject: Re: ALINK,ML,and Metacomo Pascal (URGENT!)
Message-ID: <1008@cbmfra.UUCP>
Date: 9 Feb 91 02:20:28 GMT
References: <44138@nigel.ee.udel.edu>
Reply-To: dlorre@cbmfra.UUCP (D. LORRE)
Organization: Xanadu
Lines: 28