Changeset 35064 for platform

Show
Ignore:
Timestamp:
08/26/09 10:15:13 (4 years ago)
Author:
kazuho
Message:

add 1*num_threads for maxfd (epoll, kqueue)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • platform/mysql/mycached/trunk/testclient.cc

    r35063 r35064  
    175175  } 
    176176   
    177   picoev_init(num_threads * connections_per_thread + 10); 
     177  picoev_init(num_threads * (connections_per_thread + 1) + 10); 
    178178  thread_t* threads = new thread_t [num_threads]; 
    179179