Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Mon, 14 Sep 1998 14:53:17 +0000

Re: libggi question (sleep())

becka@rz.uni-duesseldorf.de wrote:
> 
> Hi !
> 
> > I'm using the Debian packages of libggi.
> >
> > When I try to use sleep(), it always promptly returns; is libggi using
> > some signals that wake it up? How can I prevent that?
> 
> Yes. You are probably using LibGGI in SYNC mode with an inherently
> asynchronous target like X.
> 
> This is due to a SYNC-process sending a signal to display the current
> framebuffer on the X window.
> 
> You can eventually get around this by using LibGGI with threads support
> enabled.
> 
> Or even better you use ASYNC mode in your application. This will also
> speed it up.

If libggi interferes with sleep() it's using SIGALRM, and that means
that you're using a version that can be considered prehistoric now.

Please get the latest devel snapshot of our FTP site.
New debian packages will be available at the beginning of october.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]