[squeak-dev] The Trunk: Network-eem.198.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jun 2 19:12:56 UTC 2017


Eliot Miranda uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-eem.198.mcz

==================== Summary ====================

Name: Network-eem.198
Author: eem
Time: 2 June 2017, 12:12:33.771626 pm
UUID: d5a7bb03-2ab4-45fd-9032-e190d4e154ed
Ancestors: Network-pre.197

Correct deadlineSecs:.  There is no roll over problem with the clock scheme from Squeak 5 on.

=============== Diff against Network-pre.197 ===============

Item was changed:
  ----- Method: Socket class>>deadlineSecs: (in category 'utilities') -----
  deadlineSecs: secs
+ 	"Answer a deadline time in milliseconds a given number of seconds from now.
+ 	 Note that because the millisecondClockValue is derived from the non-wrapping
+ 	 61-bit microsecond clock there is no roll over issue."
- 	"Return a deadline time the given number of seconds from now."
  
+ 	^Time millisecondClockValue + (secs * 1000) truncated
- 	self deprecated: 'Using this method may result in clock rollover related bug. Don''t use it.'. 
- 	^ Time millisecondClockValue + (secs * 1000) truncated
  !



More information about the Squeak-dev mailing list