The Trunk: SqueakSSL-Core-eem.30.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: SqueakSSL-Core-eem.30.mcz

commits-2
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!