[nos-bbs] Generic malloc failure -- why?
Barry Siegfried
k2mf at k2mf.ampr.org
Tue Sep 11 15:16:20 EDT 2007
["Maiko Langelaar (ve4klm)" <maiko at pcs.mb.ca> wrote]:
[snip]
> I've read somewhere that perhaps one should not exit immediately from
> a failed request for malloc() if the system is being tasked at the time.
> One could instead wait (in jnos case do a pwait) then try again several
> times to malloc for memory, then fail after several attempts, not just
> the first attempt. I can play around with that on my development system,
> it sounds like an interesting idea ...
JNOS already has those mechanics but I'm sure you know that, Maiko.
See mallocw() and callocw() in ALLOC.C.
73, de Barry, K2MF >>
o
<|> Barry Siegfried
+---------/-\---------------------------+
| Internet | bgs at mfnos.net |
| HomePage | http://www.mfnos.net/~bgs |
+----------+----------------------------+
| Amprnet | k2mf at k2mf.ampr.org |
| PBBS | k2mf at k2ge.#cnj.nj.usa.noam |
+----------+----------------------------+
More information about the nos-bbs
mailing list