diff options
-rwxr-xr-x | include/dlt/dlt_version.h | 2 | ||||
-rwxr-xr-x | src/tests/dlt-test-stress.c | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/include/dlt/dlt_version.h b/include/dlt/dlt_version.h index cb783cd..2d3fbb7 100755 --- a/include/dlt/dlt_version.h +++ b/include/dlt/dlt_version.h @@ -7,6 +7,6 @@ #define PACKAGE_MAJOR_VERSION "2" #define PACKAGE_MINOR_VERSION "3" #define PACKAGE_PATCH_LEVEL "0" -#define PACKAGE_REVISION "v2.3.0-1-g3d66b53" +#define PACKAGE_REVISION "v2.3.0-RC-2-g1150209" #endif diff --git a/src/tests/dlt-test-stress.c b/src/tests/dlt-test-stress.c index ea17857..07b3ae9 100755 --- a/src/tests/dlt-test-stress.c +++ b/src/tests/dlt-test-stress.c @@ -98,7 +98,7 @@ typedef struct } thread_data_t; #define STRESS1_NUM_CONTEXTS 3000 -#define STRESS2_MAX_NUM_THREADS 256 +#define STRESS2_MAX_NUM_THREADS 64 #define STRESS3_MAX_NUM_MESSAGES 512 #define MAX_TESTS 3 @@ -319,10 +319,7 @@ void stress2(void) for (index=0;index<STRESS2_MAX_NUM_THREADS;index++) { - if (thread[index]!=0) - { - pthread_join(thread[index], NULL); - } + pthread_join(thread[index], NULL); } printf("Finished stress test2 \n\n"); @@ -366,7 +363,7 @@ void stress3(void) { buffer[num] = num; DLT_LOG(context_stress3,DLT_LOG_INFO,DLT_INT(num),DLT_RAW(buffer,num)); - usleep(1); + usleep(10000); } printf("Finished stress test3 \n\n"); |