diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/stable/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stable/event.h b/src/stable/event.h index f12dc7d..5f3c819 100644 --- a/src/stable/event.h +++ b/src/stable/event.h | |||
| @@ -59,7 +59,7 @@ namespace Bu | |||
| 59 | cBlock.wait(); | 59 | cBlock.wait(); |
| 60 | bool bRet = bIsSet; | 60 | bool bRet = bIsSet; |
| 61 | cBlock.unlock(); | 61 | cBlock.unlock(); |
| 62 | return bIsSet; | 62 | return bRet; |
| 63 | } | 63 | } |
| 64 | 64 | ||
| 65 | /** | 65 | /** |
| @@ -78,7 +78,7 @@ namespace Bu | |||
| 78 | cBlock.wait( nSec, nUSec ); | 78 | cBlock.wait( nSec, nUSec ); |
| 79 | bool bRet = bIsSet; | 79 | bool bRet = bIsSet; |
| 80 | cBlock.unlock(); | 80 | cBlock.unlock(); |
| 81 | return bIsSet; | 81 | return bRet; |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | /** | 84 | /** |
