comp.lang.ada
 help / color / mirror / Atom feed
From: Samuel Tardieu <sam@ada.eu.org>
Subject: Re: Passing Time via RCI
Date: 1998/02/02
Date: 1998-02-02T00:00:00+00:00	[thread overview]
Message-ID: <m3zpka7xx2.fsf@localhost.localdomain> (raw)
In-Reply-To: 34D5D42A.35C7@lmco.com


>>>>> "Marc" == Marc A Criley <marc.a.criley@lmco.com> writes:

Marc> Do I have to define my own time type?  And write my own time
Marc> utilities?  Or do an Unchecked_Conversion from Time to some byte
Marc> array I define, pass it, then convert it back?

That's a bad idea to do an unchecked conversion to an array of bytes,
since it won't work in heterogeneous environments (bytes won't get
swapped in the case of an array, while they should if they represent a
time). You should probably define your own time type.

Marc> This seems, uh, silly.  What am I missing?

You don't transmit pointers accross partitions, because a pointer has
no meaning in a different address space. You should consider that the
same thing happens with absolute times (distributed time is a
well-known concept). You can still transmit durations though.

  Sam
- - --
Samuel Tardieu -- sam@ada.eu.org






  reply	other threads:[~1998-02-02  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-02  0:00 Passing Time via RCI Marc A. Criley
1998-02-02  0:00 ` Samuel Tardieu [this message]
1998-02-03  0:00   ` Marc A. Criley
1998-02-03  0:00     ` Martin M Dowie
1998-02-04  0:00     ` Jean-Pierre Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox