mirror of
https://github.com/cathery/sys-con.git
synced 2025-01-15 22:56:12 +00:00
Reduce psc thread's memory
This commit is contained in:
parent
4cd616570f
commit
3dfa505ca8
@ -15,13 +15,12 @@ namespace syscon::psc
|
|||||||
|
|
||||||
void PscThreadFunc(void *arg);
|
void PscThreadFunc(void *arg);
|
||||||
|
|
||||||
ams::os::StaticThread<0x2'000> g_psc_thread(&PscThreadFunc, nullptr, 0x2C);
|
ams::os::StaticThread<0x1'000> g_psc_thread(&PscThreadFunc, nullptr, 0x2C);
|
||||||
|
|
||||||
bool is_psc_thread_running = false;
|
bool is_psc_thread_running = false;
|
||||||
|
|
||||||
void PscThreadFunc(void *arg)
|
void PscThreadFunc(void *arg)
|
||||||
{
|
{
|
||||||
WriteToLog("Starting PSC thread!");
|
|
||||||
do {
|
do {
|
||||||
if (R_SUCCEEDED(waitSingle(pscModuleWaiter, U64_MAX)))
|
if (R_SUCCEEDED(waitSingle(pscModuleWaiter, U64_MAX)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user