use std::list::splice to replace std::list::insert and std::list::clear

it may use the constant time to move all the items in the '_eventQueue' to
'events', and reduce the mutex holding time

Attachment: EventQueue.cpp
Description: Binary data


Attachment: EventQueue.patch
Description: Binary data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to