I'm working on an app that periodically needs to execute outside
procedures. Ideally, I want to launch the outside procedure in "fire and
forget" mode; that is, I do not want to wait for the outside process to
terminate.
I ALREADY HAVE some code that does this (see below). My question is- is
there
On Tue, 23 Aug 2011, Barry Brevik wrote:
>
> I ALREADY HAVE some code that does this (see below). My question is- is
> there a way to periodically poll the outside process to determine if it
> is still running? I've tried a few things already and none of them work.
if (defined $process) {
if
> -Original Message-
> From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-
> win32-users-boun...@listserv.activestate.com] On Behalf Of Barry Brevik
> Sent: Tuesday, August 23, 2011 2:08 PM
> To: perl-win32-users@listserv.ActiveState.com
> Subject: Help with Win32::Process
in light of the fact that most recent Intel processors offer 'multiple'
cores...
if one had a problem to solve that could be broken down to serial vs
'parallel' processes
1. is there a way using Perl, where one could intentionally take advantage
of, and explicitly solve a problem by using this cp
I would strongly recommend Programming Perl, Third Edition. The
chapter on using Thread.pm (Chapt. 17 I think) is extremely useful and
will give you a good idea of how to build a multi-threaded Perl
application (and how NOT to build one). Parallelism can be difficult.
A new edition is rumoured to b