• andrey@lmy004.'s avatar
    - use the connection_attib used to spawn threads · d1392cbb
    andrey@lmy004. authored
      in the server. this fixes the problem with the limited number of
      threads because of them being non-detached. pthread_detach_this_tread()
      expands to empty on most platforms including SuSE but pthread_detach(pthread_self())
      is not portable on Windows so the first macro should be used and the thread
      to be detached we have to create it as such.
    fix for bug#16984 (Events: running out of threads)
    WL#1034 (Internal CRON)
    d1392cbb
event_executor.cc 18.7 KB