Skip to content

Commit 30a1dd8

Browse files
author
Veijo Pesonen
committed
Increases events.shared-stacksize to 2K
ESP8266 driver started to use global event queue to handle some AT parsing and call Socket::sigio() events. It turned out that when running DNS tests, or Pelion Client, the stack space (1kB) is not enough for the purpose. Therefore we propose that this is raised to 2kB, as the assumption is that event loop should allow as equivalently complex code than any other threads. In Mbed OS, the default Thread stack size is 4kB, but we assume 2kB to be enough for non-blocking event purposes.
1 parent 51b8d6e commit 30a1dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

events/mbed_lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"present": 1,
55
"shared-stacksize": {
66
"help": "Stack size (bytes) for shared event queue thread",
7-
"value": 1024
7+
"value": 2048
88
},
99
"shared-eventsize": {
1010
"help": "Event buffer size (bytes) for shared event queue",

0 commit comments

Comments
 (0)