fix: add start pending mode to mitigate Terminal output redirection issue
This commit is contained in:
1 parent
f9df9eba4d
commit
d04d7194b9
4 files changed
+59
-11
No files matched your search
@@ -55,6 +55,7 @@ namespace Sched {
|
||||
int runningOnCpu; // CPU index running this process (-1 if not running)
|
||||
bool killPending = false; // Set by Sys_Kill when target is running on another CPU
|
||||
bool reapReady = false; // Set once teardown is complete and BSP may free slot resources
|
||||
bool startPending = false; // Spawned but not yet made runnable
|
||||
|
||||
// I/O redirection for GUI terminal
|
||||
bool redirected = false;
|
||||
@@ -85,7 +86,8 @@ namespace Sched {
|
||||
};
|
||||
|
||||
void Initialize();
|
||||
int Spawn(const char* vfsPath, const char* args = nullptr);
|
||||
int Spawn(const char* vfsPath, const char* args = nullptr, bool startReady = true);
|
||||
int StartProcess(int pid);
|
||||
void Schedule();
|
||||
|
||||
// True when there is runnable work somewhere in the process table.
|
||||
|
||||
Reference in new issue
Block a user