We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f2e986 commit deb1febCopy full SHA for deb1feb
TESTS/mbed_hal/sleep_manager_racecondition/main.cpp
@@ -24,6 +24,8 @@
24
25
using namespace utest::v1;
26
27
+#define TEST_STACK_SIZE 256
28
+
29
void sleep_manager_locking_thread_test()
30
{
31
for (uint32_t i = 0; i < 100; i++) {
@@ -37,8 +39,8 @@ void sleep_manager_multithread_test()
37
39
38
40
41
Callback<void()> cb(sleep_manager_locking_thread_test);
- Thread t1;
- Thread t2;
42
+ Thread t1(osPriorityNormal, TEST_STACK_SIZE);
43
+ Thread t2(osPriorityNormal, TEST_STACK_SIZE);
44
45
t1.start(callback(cb));
46
Thread::wait(25);
0 commit comments