thanks, applied. On Thu, May 31, 2012 at 11:34 AM, Lauri Kasanen <[email protected]> wrote: > Hi > > This patch removes a third race, one between the worker init and the manager > accept. > > Currently the manager thread may cause a client to be added to an epoll fd > that has not been initialized yet. So wait until all workers are ready before > accepting any clients. > > - Lauri > > PS: Note how this patch is a bit ugly due to the mutex. Atomic instructions > would have been half the LoC for the same effect. > > _______________________________________________ > Monkey mailing list > [email protected] > http://lists.monkey-project.com/listinfo/monkey >
-- Eduardo Silva http://edsiper.linuxchile.cl http://www.monkey-project.com _______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
