Re: Additional glib function thoughts.

"David Wheeler" <> writes:
> 1. There needs to be more control over out-of-memory (OOM) situations.
>    The docs say "If any call to allocate memory fails,
>    the application is terminated."  This is terrible; sometimes an application
>    will want more control over out-of-memory (e.g., try something else,
>    drop that request but continue processing, undo some actions, etc.),
>    and language binding implementors may need one to handle OOM correctly.
>    At the least, a way to "hook" in a function to be called on OOM situation
>    (like C++) would be something.  Has anyone tried this?  Suggestions?

If you want to see previous discussion, there's substantial stuff in
the list archives on this, see I think.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]