rt-tests: Remove arbitrary num of threads limits
PATCH 1/1 rt-tests: Remove arbitrary num of threads limits
Remove the arbitrary limit to the number of threads in pmqtest, ptsematest, sigwaittest and svsematest.
Signed-off-by John Kacur <[email protected]>
--- src/pmqtest/pmqtest.c | 2 +- src/ptsematest/ptsematest.c | 2 +- src/sigwaittest/sigwaittest.c | 2 +- src/svsematest/svsematest.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
src/pmqtest/pmqtest.c +1 -1
@@ -393,7 +393,7 @@ static void process_options(int argc, char *argv[]) } } -if (num_threads <0 || num_threads >255 ) +if (num_threads <0 ) error =1 ;if (priority <0 || priority >99 )
src/ptsematest/ptsematest.c +1 -1
@@ -299,7 +299,7 @@ static void process_options(int argc, char *argv[]) } } -if (num_threads <0 || num_threads >255 ) +if (num_threads <0 ) error =1 ;if (priority <0 || priority >99 )
src/sigwaittest/sigwaittest.c +1 -1
@@ -369,7 +369,7 @@ static void process_options(int argc, char *argv[])if (duration <0 ) error =1 ; -if (num_threads <1 || num_threads >255 ) +if (num_threads <1 ) error =1 ;if (priority <0 || priority >99 )
src/svsematest/svsematest.c +1 -1
@@ -398,7 +398,7 @@ static void process_options(int argc, char *argv[])if (duration <0 ) error =0 ; -if (num_threads <1 || num_threads >255 ) +if (num_threads <1 ) error =1 ;if (priority <0 || priority >99 )
Signature · 1 line
2.37.3