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 ea69a27 commit dd5abb6Copy full SHA for dd5abb6
libraries/Scheduler/src/Scheduler.h
@@ -27,12 +27,14 @@ extern "C" {
27
typedef void (*SchedulerParametricTask)(void *);
28
}
29
30
+// This class exists for only backwards compatibility with arduino-libraries/Scheduler.
31
+// You are encouraged to use mbed::Thread directly rather than using this.
32
class SchedulerClass {
33
public:
34
SchedulerClass();
- void startLoop(SchedulerTask task, uint32_t stackSize = 1024);
- void start(SchedulerTask task, uint32_t stackSize = 1024);
35
- void start(SchedulerParametricTask task, void *data, uint32_t stackSize = 1024);
+ void startLoop(SchedulerTask task, uint32_t stackSize = OS_STACK_SIZE);
36
+ void start(SchedulerTask task, uint32_t stackSize = OS_STACK_SIZE);
37
+ void start(SchedulerParametricTask task, void *data, uint32_t stackSize = OS_STACK_SIZE);
38
39
void yield() { ::yield(); };
40
private:
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments