Zeke-OS / zeke

A POSIX-like OS for ARM processors.
Other
88 stars 9 forks source link

fork() will still stay in infinite loop sometimes #118

Closed OlliV closed 9 years ago

OlliV commented 9 years ago

fork() will still sometimes loop forever trying to find a sufficient pid. To solve this we need to add an alternative strategy that starts to iterate over freed PIDs after some time. Though improving the rng isn't a bad idea either.