comparison lib-src/=timer.c @ 2820:37954061f933

* 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.
author Jim Blandy <jimb@redhat.com>
date Sun, 16 May 1993 00:53:57 +0000
parents 89b1121e2d43
children 0cab056764c8
comparison
equal deleted inserted replaced
2819:74380115ed5e 2820:37954061f933
125 register struct event *ep; 125 register struct event *ep;
126 126
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
134 now = time ((time_t *) NULL); 134 now = time ((time_t *) NULL);
135 135
160 160
161 /* If there are no more events, we needn't bother setting an alarm. */ 161 /* If there are no more events, we needn't bother setting an alarm. */
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 }
169 169
170 void 170 void