comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: More reliable compilers (of some programming langauges) than GNAT
Date: Thu, 23 Nov 2017 18:00:18 +0100
Date: 2017-11-23T18:00:18+01:00	[thread overview]
Message-ID: <ov6ur4$fla$1@gioia.aioe.org> (raw)
In-Reply-To: 1511453648.2601.30.camel@obry.net

On 2017-11-23 17:14, Pascal Obry wrote:
> Le jeudi 23 novembre 2017 à 09:22 +0100, Dmitry A. Kazakov a écrit :
>> There is an issue with Windows DLL which must be addressed. When
>> tasks are used explicitly or implicitly Ada RTL initialization will
>> hang if done from PROCESS_ATTACH.
> 
> That's a windows limitation. Nothing GNAT can do about.

It can do task initialization of tasks outside PROCESS_ATTACH where 
threads are suspended. Presently the solution is to disable automatic 
initialization and call it manually at first use of the library 
interface. Clearly compiler can do that much better than programmer.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2017-11-23 17:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-21 15:07 More reliable compilers (of some programming langauges) than GNAT Victor Porton
2017-11-21 15:27 ` AdaMagica
2017-11-21 15:40   ` Victor Porton
2017-11-21 16:07     ` AdaMagica
2017-11-22  1:25       ` Randy Brukardt
2017-11-22  1:40         ` Randy Brukardt
2017-11-22 13:12           ` Victor Porton
2017-11-22 14:15             ` Simon Wright
2017-11-23  0:35             ` Randy Brukardt
2017-11-23  8:22               ` Dmitry A. Kazakov
2017-11-23 16:14                 ` Pascal Obry
2017-11-23 17:00                   ` Dmitry A. Kazakov [this message]
2017-11-28  1:09                 ` Randy Brukardt
2017-11-28  9:24                   ` Dmitry A. Kazakov
2017-11-22  1:19   ` Randy Brukardt
2017-11-22  2:23     ` Paul Rubin
2017-11-22 18:29     ` J-P. Rosen
2017-11-23  2:15     ` Robert Eachus
2017-11-23  3:40       ` Paul Rubin
2017-11-23  8:27         ` Dmitry A. Kazakov
2017-11-21 16:13 ` AdaMagica
2017-11-21 16:17   ` Victor Porton
2017-11-21 17:26     ` Dmitry A. Kazakov
2017-11-23 15:14 ` Robin
replies disabled

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