comp.lang.ada
 help / color / mirror / Atom feed
From: Patrick <patrick@spellingbeewinnars.org>
Subject: Ada Library, called, returns and continues ?
Date: Sun, 16 Dec 2012 11:21:16 -0800 (PST)
Date: 2012-12-16T11:21:16-08:00	[thread overview]
Message-ID: <5ced9166-5a29-4ad2-8270-6d24ddd0d0a1@googlegroups.com> (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?



             reply	other threads:[~2012-12-16 19:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-16 19:21 Patrick [this message]
2012-12-16 19:51 ` Ada Library, called, returns and continues ? 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
replies disabled

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