mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 16:44:29 +02:00
Fix threadpool on BSD and Solaris
This commit is contained in:
parent
d212991e89
commit
1f8cbf168c
1 changed files with 3 additions and 3 deletions
|
|
@ -275,7 +275,7 @@ int io_poll_start_read(int pollfd, int fd, void *data)
|
|||
|
||||
int io_poll_associate_fd(int pollfd, int fd, void *data)
|
||||
{
|
||||
return io_poll_start_read(poolfd,fd, data);
|
||||
return io_poll_start_read(pollfd,fd, data);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -338,7 +338,7 @@ static int io_poll_associate_fd(int pollfd, int fd, void *data)
|
|||
|
||||
int io_poll_disassociate_fd(int pollfd, int fd)
|
||||
{
|
||||
return 0;
|
||||
return port_dissociate(pollfd, PORT_SOURCE_FD, fd);
|
||||
}
|
||||
|
||||
int io_poll_wait(int pollfd, native_event *events, int maxevents, int timeout_ms)
|
||||
|
|
@ -1532,4 +1532,4 @@ int tp_get_idle_thread_count()
|
|||
sum+= (all_groups[i].thread_count - all_groups[i].active_thread_count);
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue