comp.lang.ada
 help / color / mirror / Atom feed
* Ada Library, called, returns and continues ?
@ 2012-12-16 19:21 Patrick
  2012-12-16 19:51 ` Simon Wright
  2012-12-16 20:26 ` Dmitry A. Kazakov
  0 siblings, 2 replies; 22+ messages in thread
From: Patrick @ 2012-12-16 19:21 UTC (permalink / raw)


so I have been going around in circles(as usual)with a problem. I would like to use Ada as a library from a single threaded GUI application.

I don't want the GUI to block and I want the freedom to use Ada's threading model without too many restrictions.

I keep changing my mind but today I looking into the Fox Toolkit. I am thinking about writing a single threaded C++ or Ruby application and then calling Ada from it.

I was thinking about using UNIX sockets or dbus and have the two live separate lives, just communicating as needed but I am wondering if I am missing something simple. If I write and compile an Ada library into my GUI app, is it possible to call an Ada function, have it return quickly but then have Ada code continue to execute using threading?

Honestly I have not used Ada's threading yet but could the GUI call an entry, perhaps after an initialization call to start the threads?



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

end of thread, other threads:[~2012-12-18 23:54 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-16 19:21 Ada Library, called, returns and continues ? Patrick
2012-12-16 19:51 ` Simon Wright
2012-12-16 20:26 ` Dmitry A. Kazakov
2012-12-16 23:13   ` Patrick
2012-12-17  8:59     ` Dmitry A. Kazakov
2012-12-17 15:58       ` Patrick
2012-12-17 17:08         ` Simon Wright
2012-12-17 17:43           ` Patrick
2012-12-17 18:09         ` Dmitry A. Kazakov
2012-12-17 19:41           ` Patrick
2012-12-17 21:26             ` Dmitry A. Kazakov
2012-12-17 23:42               ` Patrick
2012-12-18  0:30                 ` Randy Brukardt
2012-12-18  1:36                   ` Patrick
2012-12-18 23:10                     ` Randy Brukardt
2012-12-18  9:17                 ` Dmitry A. Kazakov
2012-12-18 15:00                   ` Patrick
2012-12-18 15:37                     ` Dmitry A. Kazakov
2012-12-18 16:14                       ` Patrick
2012-12-18 17:25                         ` Dmitry A. Kazakov
2012-12-18 16:50                   ` Robert A Duff
     [not found]                 ` <2nr1d89tvkc3h0dvcd62tpsf1vujsdb09o@invalid.netcom.com>
2012-12-18 23:54                   ` Patrick

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