[squeak-dev] The Inbox: Kernel-jar.1368.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Feb 8 21:03:04 UTC 2021


A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/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 Squeak-dev mailing list