Re: What's actually important to do before exiting?

2009-09-02 Thread Jens Alfke
Erik Buck wrote: - NFS file locks may tie up a file for several minutes when processes terminate incorrectly. That should only be an issue if there's a kernel panic or network partition; the filesystem manages locking and unlocking remote NFS files just like local files, and removes the

Re: What's actually important to do before exiting?

2009-09-02 Thread Jean-Daniel Dupas
Le 2 sept. 2009 à 23:11, Erik Buck a écrit : - Posix message queues are a finite kernal resource that is not freed when processes terminate incorrectly. - Posix semaphores are a finite kernal resource that is not freed when processes terminate incorrectly. - MACH IPC message queues are a fin

Re: What's actually important to do before exiting?

2009-09-02 Thread Erik Buck
- Posix message queues are a finite kernal resource that is not freed when processes terminate incorrectly. - Posix semaphores are a finite kernal resource that is not freed when processes terminate incorrectly. - MACH IPC message queues are a finite kernal resource that is not freed when proces

Re: What's actually important to do before exiting?

2009-09-02 Thread Bill Bumgarner
On Sep 2, 2009, at 1:26 PM, Sidney San Martín wrote: It's well-established that some tasks, like deallocating memory, are totally unnecessary before your application exits, but others, like calling asl_close() if you've called asl_open() earlier, are less established. With the advent of sudden t

What's actually important to do before exiting?

2009-09-02 Thread Sidney San Martín
It's well-established that some tasks, like deallocating memory, are totally unnecessary before your application exits, but others, like calling asl_close() if you've called asl_open() earlier, are less established. With the advent of sudden termination, knowing what needs to be done before exitin