Firefly and PC GAMESS-related discussion club



Learn how to ask questions correctly


Re^5: Firefly Bug

alex
yakovenko.alexander@gmail.com


Thank you a lot!
It takes some time to update OS and check if it is cure.


On Sun Jan 31 '10 2:13pm, Alex Granovsky wrote
----------------------------------------------
>Hi,

>you just need to upgrade your OS:

>

BUGS
       When a process terminates, its set of associated semadj  structures  is
       used to undo the effect of all of the semaphore operations it performed
       with the SEM_UNDO flag.  This raises a difficulty: if one (or more)  of
       these  semaphore  adjustments  would result in an attempt to decrease a
       semaphore's value below zero, what should an  implementation  do?   One
       possible approach would be to block until all the semaphore adjustments
       could be performed.  This is however undesirable since it  could  force
       process  termination  to  block  for arbitrarily long periods.  Another
       possibility is that such semaphore adjustments could be  ignored  alto-
       gether  (somewhat  analogously  to failing when IPC_NOWAIT is specified
       for a semaphore operation).  Linux adopts a third approach:  decreasing
       the  semaphore  value  as  far as possible (i.e., to zero) and allowing
       process termination to proceed immediately.


       In kernels 2.6.x, x <= 10, there is a bug that  in  some  circumstances
       prevents a process that is waiting for a semaphore value to become zero
       from being woken up when the value does actually become zero.  This bug
       is fixed in kernel 2.6.11.

CONFORMING TO
       SVr4, POSIX.1-2001.

>regards,
>Alex Granovsky


[ Previous ] [ Next ] [ Index ]           Mon Feb 1 '10 4:15am
[ Reply ] [ Edit ] [ Delete ]           This message read 739 times