comp.lang.ada
 help / color / mirror / Atom feed
From: David Marceau <davidmarceau@sympatico.ca>
Subject: Re: dynamic multithreading
Date: Thu, 14 Nov 2002 08:49:30 -0500
Date: 2002-11-14T08:49:30-05:00	[thread overview]
Message-ID: <3DD3A9EA.E3F9FD0E@sympatico.ca> (raw)
In-Reply-To: ar07km$u72$1@news.lucky.net

Artiom Ivanov wrote:
> 
> I have a question to all who had been working closely with multithreaded
> programming.
> 
> As you know in many applications when using threads, we sometimes need to
> create a "tasks" dynamically (I mean at run-time).
> 
> For example when you need to create a server for a client applications (when
> there can be more then one client application) you need to create tasks when
> it's needed at run-time and after finishing processing destruct them.
> 
> It will be very cool if you could explain me a way to proceed for dynamic
> multithreading and post me some examples.
> 
> Thanks in advance
Ok well I'm no expert with ada concurrency issues but I would recommend:
1)reading the ada rationale 
2)reading what Cohen has to say in Cohen's Ada book, and 
3)"Concurrency in Ada".   From what I understand this is the better book
for what you want.
http://titles.cambridge.org/catalogue.asp?isbn=0521414717
The following quote taken from
http://portal.acm.org/citation.cfm?id=211392&dl=ACM&coll=portal#
"Burns and Wellings and their associates were major contributors to the
movement that called for the revision of Ada 83 and its subsequent
upgrade to Ada 95. This book turns their spotlight squarely on the new
language, Ada 95."
4)IMHO You'll find a good way of using multhreaded tasks in the ada web
server sources.  Search for the keyword "task" in their sources and
you'll find what you want.  Be warned you'll need to understand all the
intricacies of "select" statements also.
http://libre.act-europe.fr/aws/

I hope this helps and good luck :)

Sant� bonheur,
David Marceau



  reply	other threads:[~2002-11-14 13:49 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-14 13:12 dynamic multithreading Artiom Ivanov
2002-11-14 13:49 ` David Marceau [this message]
2002-11-14 14:14 ` Björn Lundin
2002-11-14 17:07   ` Thierry Lelegard
2002-11-14 18:59     ` tmoran
2002-11-14 22:04       ` Robert A Duff
2002-11-15  9:27       ` Jean-Pierre Rosen
2002-11-17 23:02     ` AG
2002-11-17  5:17       ` tmoran
2002-11-17 12:40       ` Simon Wright
2002-11-18  9:11       ` Thierry Lelegard
2002-11-18 12:12         ` Dmitry A. Kazakov
2002-11-18 16:18           ` Pascal Obry
2002-11-18 16:25             ` Lutz Donnerhacke
2002-11-18 16:21               ` Simon Wright
2002-11-19  9:03                 ` Lutz Donnerhacke
2002-11-19 21:41                   ` Simon Wright
2002-11-18 16:28               ` Preben Randhol
2002-11-18 16:30                 ` Lutz Donnerhacke
2002-11-18 16:35                   ` Preben Randhol
2002-11-18 16:44                     ` Lutz Donnerhacke
2002-11-18 18:58                       ` Preben Randhol
2002-11-19  9:09                         ` Lutz Donnerhacke
2002-11-18 19:00                       ` Preben Randhol
2002-11-19  9:11                         ` Lutz Donnerhacke
2002-11-19  9:32                           ` Preben Randhol
2002-11-19 11:18                             ` Lutz Donnerhacke
2002-11-19 12:42                       ` Georg Bauhaus
2002-11-19  9:00             ` Dmitry A. Kazakov
2002-11-18 14:30       ` Stephen Leake
2002-11-18 17:41         ` David C. Hoos
2002-11-14 14:29 ` David C. Hoos
2002-11-14 18:37 ` Jeffrey Carter
2002-11-14 22:03 ` Robert A Duff
  -- strict thread matches above, loose matches on Subject: below --
2002-11-18  9:22 Grein, Christoph
2002-11-18 12:25 ` Thierry Lelegard
2002-11-18 13:32   ` Dmitry A. Kazakov
2002-11-18 16:20     ` Pascal Obry
2002-11-18 12:13 Grein, Christoph
2002-11-18 13:38 ` Dmitry A. Kazakov
2002-11-19  5:28 Grein, Christoph
2002-11-19  6:38 Grein, Christoph
2002-11-19  9:13 ` Lutz Donnerhacke
2002-11-19  6:46 Grein, Christoph
2002-11-19  6:49 Grein, Christoph
2002-11-20 18:20 ` Matthew Heaney
2002-11-27 15:55 ` John English
replies disabled

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