Commit 698a1637 authored by Martti Mela's avatar Martti Mela

OSX runloop: removed extra WakeUp()s.

darcs-hash:20061017082323-1b897-865bc04b6ea3db409e2e85c192ee84f4987bf725.gz
parent f708a489
......@@ -749,7 +749,7 @@ void su_port_osx_socket_cb(CFSocketRef s,
if (self->sup_head)
tout = 0;
CFRunLoopWakeUp(CFRunLoopGetCurrent());
/* CFRunLoopWakeUp(CFRunLoopGetCurrent()); */
}
/* Tell to run loop an su socket fired */
......@@ -770,7 +770,7 @@ static int su_port_osx_wakeup(su_root_magic_t *magic, /* NULL */
su_wait_events(w, s);
recv(s, buf, sizeof(buf), 0);
CFRunLoopWakeUp(CFRunLoopGetCurrent());
/* CFRunLoopWakeUp(CFRunLoopGetCurrent()); */
return 0;
}
......@@ -1069,7 +1069,7 @@ int su_port_osx_deregister0(su_port_t *self, int i)
CFRunLoopRemoveSource(rl, self->sup_sources[n], kCFRunLoopDefaultMode);
CFRelease(self->sup_sources[n]);
/* CFRunLoopWakeUp(rl); */
CFRunLoopWakeUp(rl);
if (n < self->sup_pri_offset) {
int j = --self->sup_pri_offset;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment