diff system/System.h @ 1405:91231350ee22

Change where the 32-bit memory calculation adjustment is carried out -- more transparent here
author Chris Cannam
date Tue, 07 Mar 2017 13:27:53 +0000
parents f350af2b542d
children bd1a2cacd1e7
line wrap: on
line diff
--- a/system/System.h	Tue Mar 07 13:27:31 2017 +0000
+++ b/system/System.h	Tue Mar 07 13:27:53 2017 +0000
@@ -154,7 +154,8 @@
 extern ProcessStatus GetProcessStatus(int pid);
 
 // Return a vague approximation to the number of free megabytes of real memory.
-// Return -1 if unknown. (Hence signed args)
+// Return -1 if unknown. (Hence signed args.) Note that this could be more than
+// is actually addressable, e.g. for a 32-bit process on a 64-bit system.
 extern void GetRealMemoryMBAvailable(ssize_t &available, ssize_t &total);
 
 // Return a vague approximation to the number of free megabytes of