MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | void quota_demon(void) |
| 3 | |
| 4 | DESCRIPTION |
| 5 | Handle quotas in times of memory shortage. |
| 6 | |
| 7 | This function is called during the final phase of a garbage |
| 8 | collection if the reserved user area couldn't be reallocated. |
| 9 | This function (or a called demon) has now the opportunity to |
| 10 | remove some (still active) objects from the system. If this does |
| 11 | not free enough memory to reallocate the user reserve, |
| 12 | slow_shut_down() will be called to start Armageddon. |
| 13 | |
| 14 | Up to now, the wizlist lacks various informations needed to |
| 15 | detect the memory-hungriest users. |
| 16 | |
| 17 | SEE ALSO |
| 18 | slow_shut_down(M), wizlist(E) |