bonjour,
j'ai un probleme avec ces threads : sans threads, mes tableaux se remplissent, avec threads, nada
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
    my $t1 = Thread->new(searchVivisimo($recherche));
    my $t2 = Thread->new(searchClusty($recherche));
    my $t3 = Thread->new(searchIBoogie($recherche));
    my $t4 = Thread->new(searchLexxe($recherche));
    my $t5 = Thread->new( searchCarrot($recherche));
    my @resultatsVivisimo = $t1->join();
    my @resultatsClusty = $t2->join();
    my @resultatsIBoogie = $t3->join();
    my @resultatsLexxe = $t4->join();
    my @resultatsCarrot = $t5->join();
je fais une erreur quelque part ?