aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/timer.c
diff options
context:
space:
mode:
authorJim Blandy1993-05-16 00:53:57 +0000
committerJim Blandy1993-05-16 00:53:57 +0000
commit9b5283804a00d19d089aff40bacc33677453dfa1 (patch)
treedf79610d6f2d7fdc65e32d7056c51cc14c572f6a /lib-src/timer.c
parentf241976e9bfa8a7aab444c563eb0547c267706fe (diff)
downloademacs-9b5283804a00d19d089aff40bacc33677453dfa1.tar.gz
emacs-9b5283804a00d19d089aff40bacc33677453dfa1.zip
* timer.c (notify): Don't call sighold or sigrelse; they're USG
only. We should really fix this later, but let's just make it compile for now.
Diffstat (limited to 'lib-src/timer.c')
-rw-r--r--lib-src/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/timer.c b/lib-src/timer.c
index 2fa220e48a6..7a4ee3c571b 100644
--- a/lib-src/timer.c
+++ b/lib-src/timer.c
@@ -127,7 +127,7 @@ notify ()
127 /* If an alarm timer runs out while this function is executing, 127 /* If an alarm timer runs out while this function is executing,
128 it could get called recursively. This would be bad, because 128 it could get called recursively. This would be bad, because
129 it's not re-entrant. So we must try to suspend the signal. */ 129 it's not re-entrant. So we must try to suspend the signal. */
130#ifdef sigmask 130#if 0 /* This function isn't right for BSD. Fix it later. */
131 sighold(SIGIO); 131 sighold(SIGIO);
132#endif 132#endif
133 133
@@ -162,7 +162,7 @@ notify ()
162 if (num_events > 0) 162 if (num_events > 0)
163 alarm (waitfor); 163 alarm (waitfor);
164 164
165#ifdef sigmask 165#if 0 /* This function isn't right for BSD. */
166 sigrelse(SIGIO); 166 sigrelse(SIGIO);
167#endif 167#endif
168} 168}