RE: threads package missing is_running
by Brian Raven other posts by this author
May 6 2008 2:20AM messages near this date
RE: threads package missing is_running
|
RE: threads package missing is_running
Andy_Bach@[...].gov <> wrote:
> Brian:
> Starting Thread Test
> This is the child thread (0 sec)
> This is the main thread (1 sec)
> This is the main thread (2 sec)
> This is the child thread (2 sec)
> This is the main thread (3 sec)
> This is the main thread (4 sec)
> This is the child thread (4 sec)
> This is the main thread (5 sec)
> This is the main thread (6 sec)
> This is the child thread (6 sec)
> This is the main thread (7 sec)
> This is the main thread (8 sec)
> This is the child thread (8 sec)
> This is the main thread (9 sec)
> This is the main thread (10 sec)
> This is the child thread (10 sec)
> Thread has ended.
> Thread killed.
>
> was that what was expected? I was thinking there'd be a count down or
> such as each thread died and *then* the main thread dies.
That's pretty much what I would expect. My code was based on the OP's,
in which there was only one child, and the counter in both main and
child thread increment rather than decrement.
HTH
--
Brian Raven
=========================================
Atos Euronext Market Solutions Disclaimer
=========================================
The information contained in this e-mail is confidential and solely for the intended address
ee(s). Unauthorised reproduction, disclosure, modification, and/or distribution of this emai
l may be unlawful.
If you have received this email in error, please notify the sender immediately and delete it
from your system. The views expressed in this message do not necessarily reflect those of A
tos Euronext Market Solutions.
Atos Euronext Market Solutions Limited - Registered in England & Wales with registration no.
3962327. Registered office address at 25 Bank Street London E14 5NQ United Kingdom.
Atos Euronext Market Solutions SAS - Registered in France with registration no. 425 100 294.
Registered office address at 6/8 Boulevard Haussmann 75009 Paris France.
L'information contenue dans cet e-mail est confidentielle et uniquement destinee a la (aux)
personnes a laquelle (auxquelle(s)) elle est adressee. Toute copie, publication ou diffusion
de cet email est interdite. Si cet e-mail vous parvient par erreur, nous vous prions de bie
n vouloir prevenir l'expediteur immediatement et d'effacer le e-mail et annexes jointes de v
otre systeme. Le contenu de ce message electronique ne represente pas necessairement la posi
tion ou le point de vue d'Atos Euronext Market Solutions.
Atos Euronext Market Solutions Limited Société de droit anglais, enregistrée au Royaume U
ni sous le numéro 3962327, dont le siège social se situe 25 Bank Street E14 5NQ Londres Ro
yaume Uni.
Atos Euronext Market Solutions SAS, société par actions simplifiée, enregistré au regist
re dui commerce et des sociétés sous le numéro 425 100 294 RCS Paris et dont le siège so
cial se situe 6/8 Boulevard Haussmann 75009 Paris France.
=========================================
_______________________________________________
ActivePerl mailing list
ActivePerl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
webmaster
Brian Raven
Brian Raven
Brian Raven
webmaster
Brian Raven
Brian Raven
Bill Luebkert
Andy Bach
webmaster
Andy Bach
Lyle - CosmicPerl.com Support
webmaster
Lyle - CosmicPerl.com Support
|