-
Notifications
You must be signed in to change notification settings - Fork 2
Process API
PatriikPlays edited this page Dec 24, 2021
·
6 revisions
This api can create processes from a string function or a file. It can also list all of the processes that are currently running and find a process by a thread. This is almost the core of the OS.
Finds a process by a thread.
Returns true if the current thread is a process else returns nil.
Creates a new process from the parameter code with the name of name.
Creates a new process from the file at absoluteFilePath with the name of name.
Returns the idle time.
Returns the idle precentage.
Returns the average idle time.
Returns the average idle percentage.
Returns a list of all processes.
- findByThread
- isProcess
- new
- load
- getIdlePercentage
- getAvgIdleTime
- getAvgIdlePercentage
- list
- log
- textComponentLog
- textComponentListToString
- newTextComponent
- tableToTextComponentList