mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/cps/mysql/trees/mysql-5.0-virgin
This commit is contained in:
commit
77447e167a
1 changed files with 6 additions and 2 deletions
|
@ -122,11 +122,15 @@ void Listener_thread::run()
|
|||
n++;
|
||||
|
||||
timeval tv;
|
||||
tv.tv_sec= 0;
|
||||
tv.tv_usec= 100000;
|
||||
while (!thread_registry.is_shutdown())
|
||||
{
|
||||
fd_set read_fds_arg= read_fds;
|
||||
/*
|
||||
We should reintialize timer as on linux it is modified
|
||||
to reflect amout of time not slept.
|
||||
*/
|
||||
tv.tv_sec= 0;
|
||||
tv.tv_usec= 100000;
|
||||
|
||||
/*
|
||||
When using valgrind 2.0 this syscall doesn't get kicked off by a
|
||||
|
|
Loading…
Reference in a new issue