The Inbox: Kernel-ul.882.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Kernel-ul.882.mcz

commits-2
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.
  !