The Trunk: Kernel-ct.1686.mcz
[email protected] Tue, 9 Jun 2026 22:14:17 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.1686.mcz ==================== Summary ==================== Name: Kernel-ct.1686 Author: ct Time: 10 June 2026, 12:14:13.619179 am UUID: 1717bfd7-e343-4e5c-9874-181cac728181 Ancestors: Kernel-ct.1685 Fixes method references in comment of Process>>effectiveProcess. =============== Diff against Kernel-ct.1683 =============== Item was changed: ----- Method: Process>>effectiveProcess (in category 'accessing') ----- effectiveProcess "effectiveProcess is a mechanism to allow process-faithful debugging. The debugger executes code on behalf of processes, so unless some effort is made the identity of Processor activeProcess is not correctly maintained when debugging code. The debugger uses evaluate:onBehalfOf: to assign the debugged process as the effectiveProcess of the process executing the code, preserving process identity." ^effectiveProcess ifNil: [self] ifNotNil: [:process | + "Recursive process-faithful debugging. See DebuggerTests>>#test25ProcessFaithfulDebugging and #test26RecursiveProcessFaithfulDebugging for practical examples." - "Recursive process-faithful debugging. See DebuggerTests>>#test25RecursiveProcessFaithfulDebugging for a practical example." process effectiveProcess]! 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]