On Tue, 2010-03-23 at 07:23 +0100, Elizabeth Mattijsen wrote:
>
> Otherwise, if forks doesn't do it for you: don't use Perl, use C.
I believe python has a threading model that seems to work like real
threads do. Do you know Python?
Where is scan_files()?
--
Chris Fowler
OutPost Sentinel, LLC
AIM: strtok2002
Support @ SIP/[EMAIL PROTECTED]
or 678-804-8193
Email Support @ [EMAIL PROTECTED]
On Thu, 2008-04-24 at 17:21 -0700, Wong, Danny H. wrote:
> Thanks. I'll take a look at it and give it a go...
>
Bug
> print "$target:DOWN\n";
print W "$target:DOWN\n";
> } else {
> print "$target:UP\n";
print W "$target:UP\n";
Even with those changes the pipes don't work so w
On Thu, 2008-04-24 at 17:06 -0700, Wong, Danny H. wrote:
> Thanks for your comments. Do you have a perl example on how it can be
> done? I've read comments like yours on the websites, but don't have a
> concrete example. I'm trying to figure out how to implement a copy
> function with work crew t
On Thu, 2008-04-24 at 16:23 -0700, Wong, Danny H. wrote:
> Hi GURUS,
Thanks for the compliment :)
> I'm trying to implement a threaded program using work crew model. I
> was wondering if someone can provide an example. I'm trying to copy some
> files to say 100 machines ( for this example...
Another suggestion is to share the DB connection info like host, user,
database, passwd, etc. Then in the thread open, execute, close. This
has worked for me.
db handles can be used in a perl program that is threaded. you just
can't share a db handle between threads. I don't think they work ac
On Sat, 2008-04-19 at 11:29 +0300, Octavian Rasnita wrote:
> Hi,
>
> Do you know if there are plans to have real Windows threads in a future perl
> version, 5.x or 6.x that can share the memory and would be able to share
> objects?
Ouch. "real Windows threads"
Currently perl uses ithreads. I