You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nextpid is a signed integer, and allocpid() will return negative values after 2^31 calls. It will return -1 after 2^32 calls. These pids are returned by fork(), where the distinguished value of -1 indicates a failure. At full bore on my machine it takes on the order of 5 years of continuous forks to do 2^31 forks. So after 10 years of running, rxv6 can erroneously indicate that fork has failed when it has not.
The text was updated successfully, but these errors were encountered:
nextpid
is a signed integer, andallocpid()
will return negative values after2^31
calls. It will return -1 after2^32
calls. These pids are returned byfork()
, where the distinguished value of -1 indicates a failure. At full bore on my machine it takes on the order of 5 years of continuous forks to do2^31
forks. So after 10 years of running, rxv6 can erroneously indicate that fork has failed when it has not.The text was updated successfully, but these errors were encountered: