comp.lang.ada
 help / color / mirror / Atom feed
* How to kill GNAT DLL initialization?
@ 2016-08-10 12:51 Dmitry A. Kazakov
  2016-08-10 20:18 ` ahlan.marriott
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry A. Kazakov @ 2016-08-10 12:51 UTC (permalink / raw)


As it seems GNAT DLL may not have initialization code invoked in 
DllMain. This inevitable deadlocks RTS. Removing user library-level 
tasks does not help. The RTS itself contains library-level tasks. E.g. 
when asynchronous select is used.

Now the question is how to kill calls to initialization code from DllMain.

    for Library_Auto_Init use "false";

Is not enough. Are there other attributes I missed?

(Maybe there is a way to remove DllMain from the external symbols list 
during linking?)

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-13 19:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-10 12:51 How to kill GNAT DLL initialization? Dmitry A. Kazakov
2016-08-10 20:18 ` ahlan.marriott
2016-08-11  7:31   ` Dmitry A. Kazakov
2016-08-12  7:56     ` ahlan.marriott
2016-08-12 10:10       ` Dmitry A. Kazakov
2016-08-13  8:59         ` ahlan.marriott
2016-08-13 19:05           ` Dmitry A. Kazakov

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