From: stt@houdini.camb.inmet.com (Tucker Taft)
Subject: Re: Howto pass reference to protected objects to tasks
Date: 1998/09/14
Date: 1998-09-14T00:00:00+00:00 [thread overview]
Message-ID: <EzA6JD.3Cr.0.-s@inmet.camb.inmet.com> (raw)
In-Reply-To: Pine.LNX.3.96.980914134309.23179A-100000@du9ds9.fb9dv.uni-duisburg.de
ajung@du9ds9.fb9dv.uni-duisburg.de wrote:
: ...
: My questions are the following :
: - can I access an object of type shared_item, since I assume that it
: is a "limited type" ?
Yes, you can use a limited type as the designated type of an access type.
: ...
: So, is this just due to a compiler bug, that I cannot do what I have
: in mind, or should that be done in a different way (I mean passing
: protected objects) ? By the way, the mentioned line 21 was the line
: in which the aliased type has been declared...
Your code looks fine, but it seems to have hit a compiler bug.
You might try simplifying the test case to try to determine
exactly what you are doing is hitting the bug. You might
be able to work around it.
: Any comments are appreciated,
: Andreas
: Andreas Jungmaier, Dipl.-Ing.
: Gerhard-Mercator-Universitaet-GH Duisburg FB9/DV
: Bismarckstr. 81, 47048 Duisburg, Germany
: Tel.: +49 (0203) 379-2728 Fax: +49 (0203) 370439
: email: ajung@uni-duisburg.de www.fb9dv.uni-duisburg.de/members/ajung/
--
-Tucker Taft stt@inmet.com http://www.inmet.com/~stt/
Intermetrics, Inc. Burlington, MA USA
prev parent reply other threads:[~1998-09-14 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-14 0:00 Howto pass reference to protected objects to tasks ajung
1998-09-14 0:00 ` Tucker Taft [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox