Re: finalize() not guaranteed to be called -- ever



Andrea Desole <news@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> But, if you are just looking for a clean solution to free your resources
> when the application terminates, I think Ingo gave you a good answer.

No, I'm not.

- Paul
.



Relevant Pages

  • Re: Documentation of multithreading in the LRM
    ... If the system simply took back resources that had been acquired by the thread but not released that could lead to dangling references. ... -The ERROR condition is raised and either there is no ERROR ON-unit or the ERROR ON-unit terminates normally. ... Any ON-units established within the thread are given control before the thread actually terminates. ... The user must ensure that any resources a thread has acquired are released and open files are closed, unless they are needed by other threads that are still active. ...
    (comp.lang.pl1)
  • Re: is such exception handling approach good?
    ... When process terminates, ... opened handles and some other resources. ... proper clean-up code to revert internal objects to some valid ...
    (microsoft.public.vc.language)
  • Re: Using PerfMon to hunt for memory leaks
    ... that there doesn't seem to be any leakage occurring. ... the program frees all of the resources when it terminates because PerfMon stops ... If it keeps going up as you create and destroy more windows, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: pthread_join
    ... thread stack) are retained by the Pthreads implementation. ... you detach a thread, you tell the Pthreads lib that it can release all ... the resources associated to the thread when it terminates. ...
    (comp.programming.threads)