Re: state terminology

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

 



Hi Jan,

On Saturday 14 January 2006 22:34, you wrote:
> Is there a specific term (other than "hang") associated with this 
> situation? It's not a "dead-lock", because there is no other process 
> (anymore) which could potentially up the semaphore.

This is a simple "resource leak" (or "semaphore leak" in this case).

Explanation follows:

The resource semaphore is not usable by anyone anymore 
and is still around.

Its pretty much the same as a memory leak. There is no one, who
could free the memory anymore.

The reasons for the resource not being usable anymore is
not significant for a resource leak.

Also insignificant is the fact that the amount of semaphores
are just limited by available memory. If you repeat starting threads 
doing the semaphore leak game from your example, you'll run out
of memory and thus out of semaphores. This is another sign of leakage.

Do the above explanations sound ok?


Regards

Ingo Oeser

Attachment: pgp96s9C62Lpi.pgp
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux