Any comments on the idea of making XxxRefPtr alias the MTRecPtr types
instead of RecPtr?

-Allen

On Thu, Mar 12, 2009 at 12:01 PM, Allen Bierbaum <[email protected]> wrote:
> [..]
>>>
>>>> Also, are the old XxxxNodePtr's still around and which type of ptr
>>>> (MTRecPtr/RecPtr) do they use to hold their data? (ie. are they thread
>>>> safe).
>>>
>>> there are XxxxNodeRefPtr and XxxxNodeMTRefPtr.
>>> Hm, maybe these should be called Rec instead?
>>
>> Honestly I'd go the other way. Given that we are doing unusual things we do 
>> have
>> a little zoo of pointer types, and that's ok.
>>
>> The problem is that nobody has a clue what a RecPtr or UnrecPtr is supposed 
>> to
>> be, and until you really understand OpenSG it won't become clear what all the
>> differences are.
>>
>> But everybody knows what a RefPtr is (or at least should know ;). So to make
>> things easier for newcomers I would really like to see a basic typoe that 
>> can be
>> used everywhere and is safe, and call it RefPtr. Whether it's threadsafe or 
>> not
>> is debatable (personally I would prefer it to be, but it might be too late to
>> change all that at this point, and I can live with it being not).
>>
>> But I would really prefer to have pointers that explain themsleves, and 
>> that's Ref.
>
> Agreed.  I would be very happy if the XxxRefPtr and XxxNodeRefPtr were
> aliases to MTRecPtrs.
>
> That way everyone knows that is the safe one to use and if you are
> advanced then you can use the others.
>
> -Allen
>

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to