[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: icecream/daemon
From: Oswald Buddenhagen <ossi () kde ! org>
Date: 2009-10-24 14:54:06
Message-ID: 1256396046.581541.11461.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1039764 by ossi:
clean up event loop of gcc invocation
the sigchld handler which sets a flag is inherently racy (that's what
pselect() was introduced for, but see the linux man page for it). so
instead use a nicely synchronizing death pipe.
also, consolidate the two event loops into one.
as the code is running in a short-lived child, i made it lazy about
freeing resources for legibility's sake.
M +232 -209 workit.cpp
http://websvn.kde.org/?view=rev&revision=1039764
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic