Lines Matching defs:threads
30 my $usage="Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-egd] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--config=FILE] os/compiler[:flags]\n";
81 # [no-]threads [don't] try to create a library that is suitable for
82 # multithreaded applications (default is "threads" if we
112 # namely no-pic, no-shared and no-threads. It is
390 my $auto_threads=1; # enable threads automatically? true by default
495 "threads",
800 s /^threads$/enable-threads/;
873 $auto_threads = 0 if ($1 eq "threads");
893 $auto_threads = 0 if ($1 eq "threads");
1384 disable('static', 'pic', 'threads');
1435 # If threads aren't disabled, check how possible they are
1436 unless ($disabled{threads}) {
1440 disable("unavailable", 'threads');
1443 # The user chose to enable threads explicitly, let's see
1446 # If the user asked for "threads" and we don't have internal
1480 # If threads still aren't disabled, add a C macro to ensure the source
1482 unless($disabled{threads}) {
1802 if (!grep { $what eq $_ } ( 'buildtest-c++', 'fips', 'threads', 'shared',
2859 print <<"EOF" if ($disabled{threads} eq "unavailable");
2945 # of $disabled{threads}. Can be used as follows:
2947 # cflags => combine("-Wall", threads("-pthread"))
2949 sub threads {
2951 return sub { add($disabled{threads} ? () : @flags)->(); }