Mercurial > emacs
comparison src/alloc.c @ 66541:60d77f0435af
* alloc.c (emacs_blocked_free): Fix typo.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Sat, 29 Oct 2005 20:17:48 +0000 |
| parents | 88aab29bf2b2 |
| children | 9373f926904a |
comparison
equal
deleted
inserted
replaced
| 66540:7b888ab5ef0b | 66541:60d77f0435af |
|---|---|
| 1178 hysteresis this call won't run out again. | 1178 hysteresis this call won't run out again. |
| 1179 The code here is correct as long as SPARE_MEMORY | 1179 The code here is correct as long as SPARE_MEMORY |
| 1180 is substantially larger than the block size malloc uses. */ | 1180 is substantially larger than the block size malloc uses. */ |
| 1181 && (bytes_used_when_full | 1181 && (bytes_used_when_full |
| 1182 > ((bytes_used_now = BYTES_USED) | 1182 > ((bytes_used_now = BYTES_USED) |
| 1183 + max (malloc_hysteresis, 4) * SPARE_MEMORY)) | 1183 + max (malloc_hysteresis, 4) * SPARE_MEMORY))) |
| 1184 refill_memory_reserve (); | 1184 refill_memory_reserve (); |
| 1185 | 1185 |
| 1186 __free_hook = emacs_blocked_free; | 1186 __free_hook = emacs_blocked_free; |
| 1187 UNBLOCK_INPUT_ALLOC; | 1187 UNBLOCK_INPUT_ALLOC; |
| 1188 } | 1188 } |
