Changeset 74776 in vbox for trunk/src/VBox
- Timestamp:
- Oct 11, 2018 5:30:59 PM (6 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/Makefile.kmk
r74290 r74776 462 462 src-server/ClientToken.cpp \ 463 463 src-server/CloudProviderManagerImpl.cpp \ 464 src-server/DataStreamImpl.cpp \ 464 465 src-server/DHCPServerImpl.cpp \ 465 466 src-server/NetworkServiceRunner.cpp \ -
trunk/src/VBox/Main/include/DataStreamImpl.h
r74761 r74776 22 22 #include "DataStreamWrap.h" 23 23 24 #include <iprt/semaphore.h> 24 25 25 26 class ATL_NO_VTABLE DataStream … … 41 42 int i_write(const void *pvBuf, size_t cbWrite, size_t *pcbWritten); 42 43 44 /// Marks the end of the stream. 45 int i_close(); 46 43 47 private: 44 48 // wrapped IDataStream attributes and methods … … 47 51 48 52 private: 53 /** Maximum number of bytes the buffer can hold. */ 54 unsigned long m_aBufferSize; 55 /** The temporary buffer the conversion process writes into and the user reads from. */ 49 56 std::vector<BYTE> m_aBuffer; 57 /** Event semaphore for waiting until data is available. */ 58 RTSEMEVENT m_hSemEvtDataAvail; 59 /** Event semaphore for waiting until there is room in the buffer for writing. */ 60 RTSEMEVENT m_hSemEvtBufSpcAvail; 61 /** Flag whether the end of stream flag is set. */ 62 bool m_fEos; 50 63 }; 51 64
Note:
See TracChangeset
for help on using the changeset viewer.