[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Fix timestamps for DragDrop events on Windows (#518)

David T Lewis notifications at github.com
Fri Sep 11 02:49:08 UTC 2020


Sorry, I was citing ioMSec(), should have referenced ioMicroMSecs(). But in both cases, the time basis is system start time rather than VM start time, which is consistent with the time scale of a timestamps in a MSG struct. So in the earlier VMs we had:

/* Note: ioMicroMSecs returns *milli*seconds */
int ioMicroMSecs(void)
{
  /* Make sure the value fits into Squeak SmallIntegers */
  return timeGetTime() &0x3FFFFFFF;
}

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/518#issuecomment-690840933
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20200910/abb7ff0a/attachment-0001.html>


More information about the Vm-dev mailing list