1
0
mirror of https://github.com/xzeldon/htop.git synced 2025-04-15 14:35:44 +03:00
Christian Göttsche 72df930241 DarwinProcessList: retry getting list of all processes on ENOMEM
The process count might change between the two sysctl() calls getting
the size and getting the data.

Retry (3 times) in case the data-retrieval sysctl() call fails with ENOMEM.

see http://mirror.informatimago.com/next/developer.apple.com/qa/qa2001/qa1123.html

Related: 
2020-11-23 17:00:32 +01:00
..