Lazy.st
changeset 5048 63f42cfbaf59
parent 5045 b7e343586357
child 5203 c0d8c3ff1c9c
equal deleted inserted replaced
5047:f6ccfe8f2ddb 5048:63f42cfbaf59
   266 ! !
   266 ! !
   267 
   267 
   268 !Lazy methodsFor:'testing'!
   268 !Lazy methodsFor:'testing'!
   269 
   269 
   270 isLazyValue
   270 isLazyValue
       
   271     "true if I have no value yet 
       
   272      (i.e. would block when sending me a message)"
       
   273 
   271     ^ endSemaphore wouldBlock
   274     ^ endSemaphore wouldBlock
       
   275 
       
   276     "Modified (comment): / 25-06-2019 / 11:08:45 / Claus Gittinger"
   272 ! !
   277 ! !
   273 
   278 
   274 !Lazy class methodsFor:'documentation'!
   279 !Lazy class methodsFor:'documentation'!
   275 
   280 
   276 version
   281 version