On Sunday 08 October 2006 17:38, Jakub Wartak wrote:
I want to obtain unique
identified of each CLONE, because the goal is to create DB connection for
each CLONE for performance reasons, the DBI object/handle AFAIK shouldn't
be shared.
Do it like that in main:
our $dbh ;
and then in CLONE
Hello group,
I tried using use threads and quering by simple: my $id = threads-tid;
But it always returns 0 ( meaning that the perl code is running under main()
program ), but how do I identifiy each CLONE ?? I want to obtain unique
identified of each CLONE, because the goal is to create DB
2 matches
Mail list logo