From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2212e35600c03d07 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Pointers in Taskingq Date: 1998/10/21 Message-ID: <70kqud$r4r$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 403546143 References: <362D1CE1.A5A3764@teaching.cs.adelaide.edu.au> X-Http-Proxy: 1.0 x5.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Oct 21 14:26:21 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.05 [en] (WinNT; I) Date: 1998-10-21T00:00:00+00:00 List-Id: In article <362D1CE1.A5A3764@teaching.cs.adelaide.edu.au>, Chang Yang Lim wrote: > Hi. everyone, just wonder to know is it possible to use pointers in > Tasking? I am working with my project now before of control a several > processes concurrently, I choose to use Tasking in ada. However I have > come to the problem where in the task body, I actually call a procedure > and pass in a pointer. Some how I can't get my program work correctly. > Can anyone give me some hints of solving this? This depends a lot on your tasking implementation, so you really need to tell us what compiler and OS you are using. In general it should work, but there are some tricky problems that can arise when your compiler implements tasks as processes (eg: the Nighthawk's Ada83). More likely you have some kind of race condition... -- T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own