j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
A new version of KernelTests was added to project The Inbox: http://source.squeak.org/inbox/KernelTests-jar.393.mcz
==================== Summary ====================
Name: KernelTests-jar.393 Author: jar Time: 8 February 2021, 10:06:09.126403 pm UUID: af94938b-d43a-b94c-b306-922ab65afb78 Ancestors: KernelTests-eem.392
Test for Process>>priority: related to fix Kernel-jar.1368
=============== Diff against KernelTests-eem.392 ===============
Item was added: + ----- Method: ProcessTest>>testPriority (in category 'tests') ----- + testPriority + "test whether #priority: preempts active process to allow higher priority processes run" + + | val oldPriority | + val := nil. + oldPriority := Processor activePriority. + Processor activeProcess priority: oldPriority + 2. + [ val := false ] forkAt: oldPriority + 1. + [ val := true ] forkAt: oldPriority. + Processor activeProcess priority: oldPriority. + self assert: val equals: Smalltalk vm processPreemptionYields!
squeak-dev@lists.squeakfoundation.org