The Trunk: Kernel-ct.1685.mcz
[email protected] Wed, 10 Jun 2026 13:23:22 0000
| Newsgroups | gmane.comp.lang.smalltalk.squeak.general |
|---|---|
| Message-ID | <[email protected]> |
Christoph Thiede uploaded a new version of Kernel to project The Trunk: http://source.squeak.org/trunk/Kernel-ct.1685.mcz ==================== Summary ==================== Name: Kernel-ct.1685 Author: ct Time: 9 June 2026, 2:13:28.808754 am UUID: 031940e3-22fe-45f8-a346-bcc675d245cd Ancestors: Kernel-ct.1683 Documents limitation of Process>>priority: in older VMs that do not support primitive 567. Please review. =============== Diff against Kernel-ct.1683 =============== Item was changed: ----- Method: Process>>priority: (in category 'accessing') ----- priority: anInteger "Set the receiver's priority to anInteger. The primitive allows the VM to reschedule if and as necessary." <primitive: 567 error: ec> + "Fallback code: This changes the priority of the receiver but does not trigger the VM to reschedule if another runnable process now has a higher priority. When running BlockClosure>>valueAt: or BlockClosure>>valueUnpreemptively in a VM that does not implement primitive 567, execution might not reschedule correctly when they return." (anInteger between: Processor lowestPriority and: Processor highestPriority) ifTrue: [priority := anInteger] ifFalse: [self error: 'Invalid priority: ', anInteger printString]! Squeak-dev mailing list -- [email protected] To unsubscribe send an email to [email protected]