The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* state terminology
@ 2006-01-14 21:34 Jan Engelhardt
  2006-01-15  9:58 ` Ingo Oeser
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Engelhardt @ 2006-01-14 21:34 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi,


If this example kernel functions is called, it will generate an oops, kill 
the current process, and subsequent tries to call it will hang the process 
trying to do so.

        static struct semaphore x;
        void f(void) {
            int *p = NULL;
            down(&x);
            *p++;
            up(&x);
        }

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.


Jan Engelhardt
-- 
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-15 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-14 21:34 state terminology Jan Engelhardt
2006-01-15  9:58 ` Ingo Oeser
2006-01-15 20:00   ` Paul Dickson
2006-01-15 20:55     ` Jan Engelhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox