[Xorp-cvs] XORP cvs commit: xorp/libxorp

Bruce Simpson bms@icir.org
Sat, 5 Nov 2005 18:05:35 GMT


CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	bms@xorpc.icir.org	2005-11-05 18:05:35 UTC

XORP CVS repository


Modified files:
	libxorp       win_dispatcher.cc win_dispatcher.hh 

Log message:
	Fix a grievous bug whereby we would potentially block forever in
	WaitForMultipleObjectsEx() if there were pollable objects and a
	timeout was specified by the EventLoop::run() call in the frame above.
	
	Do not add HANDLEs to _eventsocks in a way which could cause duplicates.
	Only remove a HANDLE from _eventsocks if it should be removed.
	
	Don't walk the ioevent callback map if no events occurred after
	calling WSAEnumNetworkEvents().
	
	Update comments.
	Eliminate dead prototype for the WndProc.

Revision  Changes                                 Path
1.5       +26 -15;  commitid: 13906436cf3c87ea6;  xorp/libxorp/win_dispatcher.cc
1.5       +7 -12;  commitid: 13906436cf3c87ea6;   xorp/libxorp/win_dispatcher.hh