[squeak-dev] The Trunk: Nebraska-nice.33.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Apr 11 14:45:46 UTC 2011


Nicolas Cellier uploaded a new version of Nebraska to project The Trunk:
http://source.squeak.org/trunk/Nebraska-nice.33.mcz

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

Name: Nebraska-nice.33
Author: nice
Time: 11 April 2011, 4:46:00.897 pm
UUID: 1e7e2ce8-70c3-5f40-bb15-7ff7014b61cf
Ancestors: Nebraska-ul.32

Use #repeat instead of [true] whileTrue

=============== Diff against Nebraska-ul.32 ===============

Item was changed:
  ----- Method: EToyPeerToPeer>>doAwaitData (in category 'receiving') -----
  doAwaitData
  
+ 	[
- 	[true] whileTrue: [
  		socket := connectionQueue getConnectionOrNilLenient.
  		socket ifNil: [
  			(Delay forMilliseconds: 50) wait
  		] ifNotNil: [
  			self class new receiveDataOn: socket for: communicatorMorph
  		]
+ 	] repeat
- 	].
  !

Item was changed:
  ----- Method: StringSocket>>purgeOutputQueue (in category 'private-IO') -----
  purgeOutputQueue
  
  	bytesInOutputQueue := 0.
+ 	[outputQueue nextOrNil == nil] whileFalse.!
- 	[outputQueue nextOrNil notNil] whileTrue.!




More information about the Squeak-dev mailing list