equal
deleted
inserted
replaced
1566 ]. |
1566 ]. |
1567 |
1567 |
1568 Processor activeProcess setStateTo:(self isModal ifTrue:[#modalEventWait] ifFalse:[#eventWait]) if:#active. |
1568 Processor activeProcess setStateTo:(self isModal ifTrue:[#modalEventWait] ifFalse:[#eventWait]) if:#active. |
1569 |
1569 |
1570 "/ now, wait for an event to arrive |
1570 "/ now, wait for an event to arrive |
|
1571 Processor activeProcess setStateTo:(self isModal ifTrue:[#modalEventWait] ifFalse:[#eventWait]) if:#active. |
1571 gotSema := waitSema wait. |
1572 gotSema := waitSema wait. |
1572 ] ifFalse:[ |
1573 ] ifFalse:[ |
1573 gotSema := mySema |
1574 gotSema := mySema |
1574 ]. |
1575 ]. |
1575 |
1576 |