Talk About Network

Google





Programming > Ada > Post hoc making...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 5746 of 6006
Post > Topic >>

Post hoc making a type thread safe

by "Alex R. Mosteo" <devnull@[EMAIL PROTECTED] > Jun 10, 2008 at 08:36 PM

Hello,

I have a rather large object (in terms of # of subprograms) which is
standard
tagged record. I want to use it in a thread safe manner, and I wonder if
there's some better solution than proxying everything with a protected
type.
I'm not sure if some new 2005 feature can help in this regard.

Any gain would be nice; for example, is there some way of using renames to
provide the bodies of the protected object using the original object ones?
I
can't think of a way so I ask in case I'm missing something... Also, I
have
access to both public, private and body of the original type, in case this
is
of use.

In practice I'm looking for something equivalent to:

--  Not Ada
--  protected type Safe is new Unsafe with null record;

Thanks in advance,

Alex.
 




 4 Posts in Topic:
Post hoc making a type thread safe
"Alex R. Mosteo"  2008-06-10 20:36:27 
Re: Post hoc making a type thread safe
"Dmitry A. Kazakov&q  2008-06-10 21:42:51 
Re: Post hoc making a type thread safe
"Alex R. Mosteo"  2008-06-11 13:35:19 
Re: Post hoc making a type thread safe
tmoran@[EMAIL PROTECTED]   2008-06-10 19:35:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 12:40:05 PST 2009.