----------------------------------------------------------------------------- Set the amount of data that must be in the buffer for to to be signalled -----------------------------------------------------------------------------
| 71 | // Set the amount of data that must be in the buffer for to to be signalled |
| 72 | //----------------------------------------------------------------------------- |
| 73 | void Stream::SetSignalThreshold |
| 74 | ( |
| 75 | uint32 _size |
| 76 | ) |
| 77 | { |
| 78 | m_signalSize = _size; |
| 79 | if( IsSignalled() ) |
| 80 | { |
| 81 | // We have more data than we are waiting for, so notify the watchers |
| 82 | Notify(); |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | //----------------------------------------------------------------------------- |
| 87 | // <Stream::Get> |