C (117/207)

From:Duane McDonnell
Date:15 Dec 99 at 10:33:12
Subject:Re: Re: Multithreading + gfx cards

From: Duane McDonnell <dmcdonnell@primus.com.au>

>From: Colin Wenzel <colstv@hotkey.net.au>

>On 15-Dec-99, Rod Schnell wrote:
>> Hello Colin
>> On 13-Dec-99, Colin Wenzel wrote:
>>> Not a single problem after that, so if anyone has a reasonable
>>> explanation as to why this would occur, I would be pleased
>>> to hear any *intelligent* suggestions why.
>>
>> I ran into a similar problem once, which I fixed by moving the code
>> into a gadget rendering hook. I assume the reason this was so, is
>> that the rport, which was a gadget rport, needed to run on the
>> gadget's context. Gadget render hooks do run on gadget context while
>> the code that didn't work right ran on application context.
>> Regards Rod

>Aha !!!, now we're getting somewhere, I forgot to mention that I have
>about 20 bool gadgets hanging off that same window too....

>It never occurred to me to mention it before....

Just so that you don't miss the forest for the trees, go back and read
Allan's and my replies regarding Layers. Your description of not being
able to call Text() on a RastPort created by another task clearly points
towards a Layer problem. That was the fault you described, if you
recall.