mirror of https://github.com/ARMmbed/mbed-os.git
Reduce thread stack size for parallel network tests
This commit reduces the thread stack from 2k to 1k for each thread in the parallel network tests. This allows the test to run on more constrained devices (like the LPC1768).pull/3548/head
parent
3a326c0b94
commit
bdd0ff4272
|
@ -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