From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: How to kill GNAT DLL initialization?
Date: Wed, 10 Aug 2016 14:51:36 +0200
Date: 2016-08-10T14:51:36+02:00 [thread overview]
Message-ID: <nof82e$1oat$1@gioia.aioe.org> (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
next reply other threads:[~2016-08-10 12:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-10 12:51 Dmitry A. Kazakov [this message]
2016-08-10 20:18 ` How to kill GNAT DLL initialization? 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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox