[squeak-dev] The Trunk: Kernel-ul.555.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Mar 22 05:09:35 UTC 2011

Levente Uzonyi uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-ul.555
Author: ul
Time: 22 March 2011, 5:48:20.517 am
UUID: 27353a94-f122-aa4b-982e-5d98b8659837
Ancestors: Kernel-ul.554

- added support for threaded VMs
- removed the unused errorHandler variable and it's accessors from Process. It was used before Squeak 3.6 as a process local error handler. If this feature is still required then it should be implemented by using the ProcessLocalStorage package from squeaksource.

=============== Diff against Kernel-ul.554 ===============

Item was changed:
  Link subclass: #Process
+ 	instanceVariableNames: 'suspendedContext priority myList threadId name island env'
- 	instanceVariableNames: 'suspendedContext priority myList errorHandler name island env'
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'Kernel-Processes'!
+ !Process commentStamp: 'ul 3/22/2011 05:18' prior: 0!
- !Process commentStamp: 'mtf 2/4/2010 17:21' prior: 0!
  I represent an independent path of control in the system. This path of control may be stopped (by sending the message suspend) in such a way that it can later be restarted (by sending the message resume). When any one of several paths of control can be advanced, the single instance of ProcessorScheduler named Processor determines which one will actually be advanced partly using the value of priority.
  (If anyone ever makes a subclass of Process, be sure to use allSubInstances in anyProcessesAbove:.)
+ The threadId variable is used by multi-threaded CogVMs to control process-to-thread binding. It's required to be the fourth instance variable. See SmalltalkImage >> #processHasThreadIdInstVar: for further information.
  The island and env instance variables are not used by core squeak, but are used by external packages and included here because Monticello cannot handle external instance variables:
  island: used by Tweak and Croquet to partition the image into multiple address spaces
  env: used by ProcessSpecific to implement per-process variables!

Item was removed:
- ----- Method: Process>>errorHandler (in category 'error handling') -----
- errorHandler
-     ^ errorHandler!

Item was removed:
- ----- Method: Process>>errorHandler: (in category 'error handling') -----
- errorHandler: aBlock
-     errorHandler := aBlock!

More information about the Squeak-dev mailing list