[Live-devel] gettimeofday windows implementation

Pushkar Pradhan pushkar at ipvideosys.com
Fri Aug 20 09:06:13 PDT 2010


Hi,
I would like to modify the gettimeofday implementation (provided for Windoze) in groupsockhelper.cpp to make it thread safe for my use. I was planning on using the old implementation which just calls ftime(&tb) to avoid the use of static variables.
 
I noticed the comments for the routine that QueryPerformanceCounter is more accurate that's why you use it. My question is if I use ftime in each call what kind of side effects will it cause if any?
 
Thanks,
pushkar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100820/bf4008fa/attachment-0001.html>


More information about the live-devel mailing list