Isn't time in whole seconds?

Joe

On Fri, Jan 22, 2010 at 8:09 PM, Mitchell Stokes <moguri...@gmail.com> wrote:
> Hello Blender Devs,
>
> A recent commit to threads.c added a function called wait_timeout. In
> this function gettimeofday() is used, which MSVC does not define.
> However, it looks like to me that time() could be used instead of
> gettimeofday(). Also, timeval.tv_usec is in microseconds while I think
> the code was using it as milliseconds. So, here is a patch to use
> time(). It compiles on MSVC, but I didn't test it much beyond that.
>
> http://www.pasteall.org/10517/diff
>
> Cheers,
> Mitchell Stokes (Moguri)
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
_______________________________________________
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to