Removed Problematic Debug Statements

- Removed debug statements that were interfering with APC wakeup due to the way that logging works in atomicio6().
- Filled in a missing parameter in a debug statement.
This commit is contained in:
Bryan Berns 2018-04-03 23:17:44 -04:00
parent bd6408058a
commit 14ba410250
2 changed files with 1 additions and 3 deletions

View File

@ -150,7 +150,7 @@ w32_sigprocmask(int how, const sigset_t *set, sigset_t *oldset)
{ {
/* this is only used by sshd to block SIGCHLD while doing waitpid() */ /* this is only used by sshd to block SIGCHLD while doing waitpid() */
/* our implementation of waidpid() is never interrupted, so no need to implement this for now*/ /* our implementation of waidpid() is never interrupted, so no need to implement this for now*/
debug5("sigprocmask() how:%d"); debug5("sigprocmask() how:%d", how);
return 0; return 0;
} }
@ -277,7 +277,6 @@ wait_for_any_event(HANDLE* events, int num_events, DWORD milli_seconds)
return -1; return -1;
} }
debug5("wait() on %d events and %d children", num_events, live_children);
DWORD ret = wait_for_multiple_objects_enhanced(num_all_events, all_events, milli_seconds, TRUE); DWORD ret = wait_for_multiple_objects_enhanced(num_all_events, all_events, milli_seconds, TRUE);
if ((ret >= WAIT_OBJECT_0_ENHANCED) && (ret <= WAIT_OBJECT_0_ENHANCED + num_all_events - 1)) { if ((ret >= WAIT_OBJECT_0_ENHANCED) && (ret <= WAIT_OBJECT_0_ENHANCED + num_all_events - 1)) {
/* woken up by event signaled /* woken up by event signaled

View File

@ -579,7 +579,6 @@ socketio_send(struct w32_io* pio, const void *buf, size_t len, int flags)
if (ret == 0) { if (ret == 0) {
/* send has completed and APC is scheduled, let it run */ /* send has completed and APC is scheduled, let it run */
debug4("send - WSASend() returned 0, APC scheduled io:%p", pio);
pio->write_details.pending = TRUE; pio->write_details.pending = TRUE;
pio->write_details.remaining = wsabuf.len; pio->write_details.remaining = wsabuf.len;
SleepEx(0, TRUE); SleepEx(0, TRUE);