mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #3548 from bridadan/reduce_stack_network_parallel_tests
Reduce thread stack size for parallel network testspull/3649/head
commit
addd2b2965
|
@ -42,6 +42,10 @@ private:
|
|||
Thread thread;
|
||||
|
||||
public:
|
||||
// Limiting stack size to 1k
|
||||
Echo(): thread(osPriorityNormal, 1024) {
|
||||
}
|
||||
|
||||
void start() {
|
||||
osStatus status = thread.start(callback(this, &Echo::echo));
|
||||
TEST_ASSERT_EQUAL(osOK, status);
|
||||
|
|
|
@ -46,6 +46,10 @@ private:
|
|||
Thread thread;
|
||||
|
||||
public:
|
||||
// Limiting stack size to 1k
|
||||
Echo(): thread(osPriorityNormal, 1024) {
|
||||
}
|
||||
|
||||
void start() {
|
||||
osStatus status = thread.start(callback(this, &Echo::echo));
|
||||
TEST_ASSERT_EQUAL(osOK, status);
|
||||
|
|
Loading…
Reference in New Issue