Possible results for the wait_pid() function.
Get get the page size of OS
Check for any kind of memory pressure.
Get the size of available physical memory
Wait for a process with PID pid to finish.
See Source File