[squeak-dev] The Inbox: Kernel-ul.882.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Oct 24 14:58:17 UTC 2014


A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-ul.882.mcz

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

Name: Kernel-ul.882
Author: ul
Time: 24 October 2014, 3:48:50.902 am
UUID: c159ed79-5312-47fa-8d80-2e5211a377bc
Ancestors: Kernel-ul.881

- use ExternalSemaphoreTable instead of Smalltalk

=============== Diff against Kernel-ul.881 ===============

Item was changed:
  ----- Method: EventSensor>>shutDown (in category 'initialize') -----
  shutDown
+ 
  	super shutDown.
  	EventTicklerProcess ifNotNil: [
  		EventTicklerProcess terminate.
  		EventTicklerProcess := nil. ].
+ 	inputSemaphore ifNotNil:[
+ 		ExternalSemaphoreTable unregisterExternalObject: inputSemaphore ].
- 	inputSemaphore ifNotNil:[Smalltalk unregisterExternalObject: inputSemaphore].
  !

Item was changed:
  ----- Method: EventSensor>>startUp (in category 'initialize') -----
  startUp
  	"Run the I/O process"
  	self initialize.
+ 	self primSetInputSemaphore: (ExternalSemaphoreTable registerExternalObject: inputSemaphore).
- 	self primSetInputSemaphore: (Smalltalk registerExternalObject: inputSemaphore).
  	super startUp.
  	self installEventTickler.
  	Smalltalk isMorphic ifTrue:[self flushAllButDandDEvents].
  
  	"Attempt to discover whether the input semaphore is actually being signaled."
  	hasInputSemaphore := false.
  	inputSemaphore initSignals.
  !



More information about the Squeak-dev mailing list