The Trunk: Kernel-bf.1038.mcz

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

The Trunk: Kernel-bf.1038.mcz

commits-2
Bert Freudenberg uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-bf.1038.mcz

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

Name: Kernel-bf.1038
Author: bf
Time: 15 September 2016, 6:33:16.643947 pm
UUID: 8c354082-7d64-4039-8dc2-e2d78c537570
Ancestors: Kernel-bf.1037

Fix typos

=============== Diff against Kernel-bf.1037 ===============

Item was changed:
  ----- Method: Monitor>>primitiveTestAndSetOwnershipOfCriticalSection (in category 'private-primitives') -----
  primitiveTestAndSetOwnershipOfCriticalSection
  "Primitive. Attempt to set the ownership of the receiver.
  If the receiver is unowned set its owningProcess to the
  activeProcess and answer false.  If the receiver is owned
  by the activeProcess answer true.  If the receiver is owned
  by some other process answer nil.
 
  Copyright (c) 2016 - 3D Immersive Collaboration Consulting, LLC."
  <primitive: 187>
+ self primitiveFailed
- self primitiveFail
  "In the spirit of the following"
  "[owner ifNil:
  [owningProcess := Processor activeProcess.
  ^false].
   owner = Processor activeProcess ifTrue: [^true].
   ^nil] valueUnpreemptively"!

Item was changed:
  ----- Method: Mutex>>primitiveTestAndSetOwnershipOfCriticalSection (in category 'private-primitives') -----
  primitiveTestAndSetOwnershipOfCriticalSection
  "Primitive. Attempt to set the ownership of the receiver.
  If the receiver is unowned set its owningProcess to the
  activeProcess and answer false.  If the receiver is owned
  by the activeProcess answer true.  If the receiver is owned
  by some other process answer nil.
 
  Copyright (c) 2016 - 3D Immersive Collaboration Consulting, LLC."
  <primitive: 187>
+ self primitiveFailed
- self primitiveFail
  "In the spirit of the following"
  "[owner ifNil:
  [owningProcess := Processor activeProcess.
  ^false].
   owner = Processor activeProcess ifTrue: [^true].
   ^nil] valueUnpreemptively"!