[Pkg] The Treated Inbox: Kernel-jar.1368.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jun 14 08:32:27 UTC 2022


Marcel Taeumel uploaded a new version of Kernel to project The Treated Inbox:
http://source.squeak.org/treated/Kernel-jar.1368.mcz

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

Name: Kernel-jar.1368
Author: jar
Time: 8 February 2021, 10:03:00.688403 pm
UUID: 095338a7-d694-3e4c-97dd-1f33e4d08156
Ancestors: Kernel-eem.1367

Fix incorrect #priority: behavior blocking higher priority processes

=============== Diff against Kernel-eem.1367 ===============

Item was changed:
  ----- Method: Process>>priority: (in category 'accessing') -----
  priority: anInteger 
  	"Set the receiver's priority to anInteger."
  	(anInteger >= Processor lowestPriority and:[anInteger <= Processor highestPriority])
+ 		ifTrue: [
+ 			priority := anInteger.
+ 			self isActiveProcess ifTrue: [ [ ] forkAt: Processor highestPriority] ]
- 		ifTrue: [priority := anInteger]
  		ifFalse: [self error: 'Invalid priority: ', anInteger printString]!



More information about the Packages mailing list