fix core3 being pinned at 100% due to nxlink polling.
this was caused due to 9966e57e12
This commit is contained in:
@@ -224,7 +224,7 @@ void loop(void* args) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
while (!g_quit) {
|
while (!g_quit) {
|
||||||
svcSleepThread(1000000);
|
svcSleepThread(1e+8);
|
||||||
|
|
||||||
if (poll_network_change()) {
|
if (poll_network_change()) {
|
||||||
continue;
|
continue;
|
||||||
@@ -267,7 +267,7 @@ void loop(void* args) {
|
|||||||
sockaddr_in sa_remote{};
|
sockaddr_in sa_remote{};
|
||||||
|
|
||||||
while (!g_quit) {
|
while (!g_quit) {
|
||||||
svcSleepThread(10000);
|
svcSleepThread(1e+8);
|
||||||
|
|
||||||
if (poll_network_change()) {
|
if (poll_network_change()) {
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user