From: Samuel Tardieu <sam@ada.eu.org>
Subject: Re: Tasks and C/C++ code.
Date: 1998/11/18
Date: 1998-11-18T13:46:32+00:00 [thread overview]
Message-ID: <87btm52jwl.fsf@zaphod.enst.fr> (raw)
In-Reply-To: 72b35b$pll$1@nnrp1.dejanews.com
>>>>> "David" == dbotton <dbotton@hotmail.com> writes:
David> I think it would be practical to create a protected type that
David> wrapped your C function to insure that it is not be run
David> concurrently (if it isn't safe). If it's safe then just call it
David> as you would any other Ada Procedure/Function.
You can't do that for abitraries C functions: it must not contain any
potentially blocking code.
Sam
--
Samuel Tardieu -- sam@ada.eu.org
next prev parent reply other threads:[~1998-11-18 0:00 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-09 0:00 Tasks and C/C++ code Barry L. Dorough
1998-11-09 0:00 ` Mats Weber
1998-11-10 0:00 ` dennison
1998-11-11 0:00 ` dbotton
1998-11-11 0:00 ` dennison
1998-11-11 0:00 ` Barry L. Dorough
1998-11-11 0:00 ` dennison
1998-11-12 0:00 ` Jerry van Dijk
1998-11-13 0:00 ` Mats Weber
1998-11-18 0:00 ` Samuel Tardieu [this message]
1998-11-19 0:00 ` Mats Weber
1998-11-20 0:00 ` Samuel Tardieu
1998-11-23 0:00 ` Mats Weber
1998-11-23 0:00 ` Tom Moran
1998-11-24 0:00 ` Blocking protected ops (was: Tasks and C/C++ code) Mats Weber
1998-11-24 0:00 ` Robert I. Eachus
1998-11-25 0:00 ` Mats Weber
1998-11-25 0:00 ` Robert I. Eachus
1998-11-26 0:00 ` Simon Wright
1998-11-27 0:00 ` David Botton
1998-11-27 0:00 ` Tom Moran
1998-11-27 0:00 ` Jerry van Dijk
1998-11-28 0:00 ` Tom Moran
1998-11-27 0:00 ` Mats Weber
1998-11-29 0:00 ` Tucker Taft
1998-11-30 0:00 ` Simon Wright
1998-11-25 0:00 ` Jean-Pierre Rosen
1998-11-27 0:00 ` Mats Weber
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox