[squeak-dev] The Trunk: SqueakSSL-Core-eem.30.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 23 23:57:19 UTC 2016


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

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

Name: SqueakSSL-Core-eem.30
Author: eem
Time: 23 March 2016, 4:56:42.143682 pm
UUID: ee6874d3-4825-46f2-8815-06351c26c4e6
Ancestors: SqueakSSL-Core-ul.29

Avoid spin waiting in SSL connect, needed by Squeak 5.0, which doesn't yield on preemption.

=============== Diff against SqueakSSL-Core-ul.29 ===============

Item was changed:
  ----- Method: SqueakSSL>>connect:from:to:into: (in category 'operations') -----
  connect: srcBuf from: start to: stop into: dstBuf
  	"Start or continue the server handshake using the given input token."
  
+ 	| r |
+ 	r := self primitiveSSL: handle connect: srcBuf startingAt: start count: stop-start+1 into: dstBuf.
+ 	r <= 0 ifTrue:
+ 		[Processor yield].
+ 	^r!
- 	^self primitiveSSL: handle connect: srcBuf startingAt: start count: stop-start+1 into: dstBuf!



More information about the Squeak-dev mailing list