On 23 January 2013 11:42, dan smith <[email protected]> wrote: > while(nfinish > 0)
Haven't had a chance to compile this here. For some reason have a linker issue on my work machine. At first glance the "while(nfinish > 0)" loop assumes sequential thread completion for best time. For example you only know of thread 7 finishing only until 1 through to 6 have completed. Don't know if this is affecting things drastically or not. Maybe switching to polling here and updating a "completed" vector list might work better. Another area I would look into is the linger of the sockets, it shouldn't affect closing them down within the thread however its something to consider. When I get a chance I would be looking to place more asserts in to make sure messages were doing what I thought they were (send and receive calls return values). Then I would be checking the timing of any close down code. Hope this helps in the meantime.
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
