WindowGroup.st
changeset 9004 a9067f6b4e80
parent 8992 eff2d23d8bc3
equal deleted inserted replaced
9003:de9be1ccbdb4 9004:a9067f6b4e80
  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