The Trunk: System-dtl.794.mcz

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

The Trunk: System-dtl.794.mcz

commits-2
David T. Lewis uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-dtl.794.mcz

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

Name: System-dtl.794
Author: dtl
Time: 5 February 2016, 9:16:31.787728 pm
UUID: c7eac4e4-4ec5-40c8-89c5-13f9ee4550cf
Ancestors: System-eem.793

Primitive error handling for #processPreemptionYields: to match #processPreemptionYields, required for ProcessorScheduler class>>startUp:

=============== Diff against System-eem.793 ===============

Item was changed:
  ----- Method: SmalltalkImage>>processPreemptionYields: (in category 'system attributes') -----
  processPreemptionYields: aBoolean
  "The Cog VM can be instructed not to yield on process preemption,
  i.e. not to put a preempted process at the back of its run queue.  By
  default preempting a process causes it to yield (Blue Book semantics)
  which can have unfortunate effects.
  This flag persists across snapshots, stored in the image header."
 
+ [self vmParameterAt: 48 put: ((self vmParameterAt: 48) bitClear: 4) + (aBoolean ifTrue: [0] ifFalse: [4])]
+ on: Error
+ do: ["no VM parameter 48, do nothing"]!
- self vmParameterAt: 48 put: ((self vmParameterAt: 48) bitClear: 4) + (aBoolean ifTrue: [0] ifFalse: [4])!