mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-24 19:54:22 -04:00
strat: statically allocate additional threads
This commit is contained in:
parent
fbb5730369
commit
535e49a38d
17 changed files with 123 additions and 42 deletions
|
@ -53,7 +53,7 @@ namespace sts::fatal::srv {
|
|||
}
|
||||
|
||||
/* Task definitions. */
|
||||
class ShowFatalTask : public ITask {
|
||||
class ShowFatalTask : public ITaskWithStack<0x8000> {
|
||||
private:
|
||||
ViDisplay display;
|
||||
ViLayer layer;
|
||||
|
@ -69,12 +69,9 @@ namespace sts::fatal::srv {
|
|||
virtual const char *GetName() const override {
|
||||
return "ShowFatal";
|
||||
}
|
||||
virtual size_t GetStackSize() const override {
|
||||
return 0x8000;
|
||||
}
|
||||
};
|
||||
|
||||
class BacklightControlTask : public ITask {
|
||||
class BacklightControlTask : public ITaskWithDefaultStack {
|
||||
private:
|
||||
void TurnOnBacklight();
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue