summaryrefslogtreecommitdiff
path: root/src/select.cpp
AgeCommit message (Collapse)Author
2011-06-13Reverting previous commit that broke MSVC2010 buildMartin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-12Fix scope on Windows includes.Steven McCoy
Fix windows.h included before winsock2.h. Remove definition of _WINSOCKAPI_. Signed-off-by: Steven McCoy <steven.mccoy@miru.hk>
2011-05-15Fixes warning when compiling with MSVC on Win64Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-02The copyrights in file headers updated.Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-01-18Fix cppcheck warnings: Prefer prefix ++/-- operators for non-primitive types.Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-11-04Previous FD_STSIZE patch reverted.Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-11-04FD_SETSIZE for internal polling defaults to 1024Martin Sustrik
If, when compiling 0MQ you don't set FD_SETSIZE, it defaults to 1024 rather than to 64. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-11-01select now uses Erase-Remove idiom for retired fdsMikael Helbo Kjaer
Signed-off-by: Mikael Helbo Kjaer <mhk@designtech.dk>
2010-10-30Name of "GNU Lesser Public License" corrected.Martin Sustrik
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-15Cast execute_timers() result to intMikko Koppanen
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
2010-10-09Execute the timers before pollset initialisation.Christian Gudrian
Since executing the timers might modify the source pollsets we have to defer the initialisation until after the timers have executed. Signed-off-by: Christian Gudrian <christian.gudrian@fluidon.com>
2010-09-27MSVC build fixedMartin Sustrik
2010-09-26timers properly implementedMartin Sustrik
2010-09-26common base for all pollers created; the only thing it handles at the moment ↵Martin Sustrik
is 'load'
2010-09-26new interfaces for timers; the implementation is not changed yetMartin Sustrik
2010-09-04zmq::select_t, zmq_poll(): assert if FD_SETSIZE reachedMartin Lucina
Ensure that 0MQ does not attempt to call select() on more than FD_SETSIZE file descriptors.
2010-09-01Erasure of retired fd's in select.cpp causes an assertion in MSVC 2008 STLMikael Helbo Kjær
I was hitting an issue with an SCL enabled STL library in connection with the way select_t::loop was erasing retired fd's. The problem as identified by the SCL assertion was that by the time the iterator given to the erase method was called it was considered invalid by the library. I am not sure this isn't just a "quirk" of the MSVC STL library as the other code looks valid to me as well.
2010-01-05Copyrights transferred from FastMQ to iMatixMartin Sustrik
2009-10-02poller is a concept now rather than virtualised classMartin Sustrik
2009-09-14ZMQII-1: Win32 - failure on shutdownMartin Sustrik
2009-08-06clean up - session/socket/engine stuff removedMartin Sustrik
2009-08-03renamed from zs to zmqMartin Sustrik
2009-07-29initial commitMartin Sustrik