Quoting Kalpak Shah:
> I can understand why the windowstack lock is being acquired. On
> deadlock, Mouse thread is in write call - blocked since the buffer is
> full. The buffer is full since the app thread is waiting to acquire a
> windowstack lock [before it does cursor change shape] and hence can't
> empty the buffer. The buffer for socketpair is limited in size
> [usually 64k] and hence the deadlock.

Are you using a recent CVS version?

The problem should be fixed since:


2004-08-05   dok        12:42:31        Denis Oliver Kropp <[EMAIL PROTECTED]>

        Files:  idirectfbinputbuffer.c (1.51) (+66 -34)
        
        Delegate writes to the file descriptor to a new thread called 'EventBufferFeed'
        to avoid dead locks in case the write() blocks.


-- 
Best regards,
  Denis Oliver Kropp
 
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


Reply via email to