1
2
3
4
5
6
7
8
9
10
11
12
13
14
| #!/usr/bin/perl
#
use Config;
if( $Config{useithreads} ) {
printf("Hello ithreads\n")
}
elsif( $Config{use5005threads} ) {
printf("Hello 5005threads\n");
}
else {
printf("Can not support thread in your perl environment\n");
exit( 1 );
}
|