summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-04-13 19:17:23 -0500
committerSlávek Banko <slavek.banko@axis.cz>2015-04-14 02:27:31 +0200
commitcdd974fd9c6f05489301a2bc828787d429eadbcb (patch)
treec44f9f657cac560dcbb7e5aedc53bd7cefe5ad89
parent3b139d2a1e47f5585bfabd47ca891e9b4c5e53d9 (diff)
downloadtdebase-cdd974fd9c6f05489301a2bc828787d429eadbcb.tar.gz
tdebase-cdd974fd9c6f05489301a2bc828787d429eadbcb.zip
Fix comments
(cherry picked from commit 8c1136342b3519da44fc0379e3132c41e297009b)
-rw-r--r--kdesktop/lockeng.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdesktop/lockeng.cc b/kdesktop/lockeng.cc
index 43930e9e7..600573f27 100644
--- a/kdesktop/lockeng.cc
+++ b/kdesktop/lockeng.cc
@@ -837,13 +837,13 @@ bool SaverEngine::waitForLockProcessStart() {
sigset_t empty_mask;
sigemptyset(&empty_mask);
- // ensure that SIGCHLD is not subjec to a race condition
+ // ensure that SIGCHLD is not subject to a race condition
sigemptyset(&new_mask);
sigaddset(&new_mask, SIGCHLD);
pthread_sigmask(SIG_BLOCK, &new_mask, NULL);
while ((mLockProcess.isRunning()) && (!mSaverProcessReady)) {
- // wait for any signal to arrive
+ // wait for any signal(s) to arrive
sigsuspend(&empty_mask);
}
pthread_sigmask(SIG_UNBLOCK, &new_mask, NULL);
@@ -857,7 +857,7 @@ bool SaverEngine::waitForLockEngage() {
// wait for SIGUSR1, SIGUSR2, SIGTTIN
while ((mLockProcess.isRunning()) && (mState != Waiting) && (mState != Saving)) {
- // wait for any signal to arrive
+ // wait for any signal(s) to arrive
sigsuspend(&empty_mask);
}