|
Smalltalk/X WebserverDocumentation of class 'SynchronousWindowSensor': |
|
|
Class: SynchronousWindowSensorInheritance:Object | +--WindowSensor | +--SynchronousWindowSensor
Description:
These sensors are not used with regular views.
In contrast to a regular windowSensor, instances of SynchronousWindowSensor
do NOT put events into a queue and do NOT wakeup any windowGroup process.
Instead, the underlying view is notified synchronously (via a message send)
immediately about the event.
SynchronousWindowSensor are used for only one single situation:
when a super-modal debugger is open
(i.e. one that is debugging the scheduler or event-dispatcher).
This debugger's windowGroup is augmented with a synchronous Sensor, in order
to prevent the event handling code from suspending any process
(you cannot suspend the scheduler; you should not suspend the event dispatcher).
This is pretty tricky and magic - and you dont have to understand this.
(consider this system internal code)
Instance protocol:dummy event flushing
|
|
|
ST/X 6.1.1; WebServer 1.620 at exept:8081; Wed, 23 May 2012 21:16:49 GMT
|