Skip to content
Snippets Groups Projects
Unverified Commit 57a23976 authored by Gaëtan Harter's avatar Gaëtan Harter
Browse files

tests/mutex_unlock_and_sleep: reduce number of iterations on boards

Reduce number of iterations, it allows taking less than 3 seconds on wsn430.

Tested on wsn430 and iotlab-m3 to check that speed was not too fast to read when
executing term.
parent 2dfb5847
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,11 @@ static volatile int indicator; ...@@ -27,7 +27,11 @@ static volatile int indicator;
static kernel_pid_t main_pid; static kernel_pid_t main_pid;
static char stack[THREAD_STACKSIZE_DEFAULT]; static char stack[THREAD_STACKSIZE_DEFAULT];
#ifdef BOARD_NATIVE
static const unsigned KITERATIONS = 100; static const unsigned KITERATIONS = 100;
#else
static const unsigned KITERATIONS = 10;
#endif
static void *second_thread(void *arg) static void *second_thread(void *arg)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment