mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-09 11:42:33 +00:00
Fixed poll arguments.
This commit is contained in:
@@ -64,12 +64,12 @@ PollManagerKQueue::~PollManagerKQueue() {
|
||||
|
||||
void
|
||||
PollManagerKQueue::poll(rak::timer timeout) {
|
||||
static_cast<torrent::PollKQueue*>(m_poll)->do_poll();
|
||||
static_cast<torrent::PollKQueue*>(m_poll)->do_poll(timeout.usec());
|
||||
}
|
||||
|
||||
void
|
||||
PollManagerKQueue::poll_simple(rak::timer timeout) {
|
||||
static_cast<torrent::PollKQueue*>(m_poll)->do_poll(torrent::Poll::poll_worker_thread);
|
||||
static_cast<torrent::PollKQueue*>(m_poll)->do_poll(timeout.usec(), torrent::Poll::poll_worker_thread);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user