Changeset 37210 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- May 25, 2011 9:55:16 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 71906
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/circbuf.cpp
r37209 r37210 36 36 37 37 38 /******************************************************************************* 39 * Structures and Typedefs * 40 *******************************************************************************/ 41 /** @todo r=bird: this is missing docs and magic. uXPos should be offX. 42 * cbBufSize should be cbBuf. */ 43 typedef struct RTCIRCBUF 44 { 45 /** The current read position in the buffer. */ 46 size_t uReadPos; 47 /** The current write position in the buffer. */ 48 size_t uWritePos; 49 /** How much space of the buffer is currently in use. */ 50 volatile size_t cbBufUsed; 51 /** How big is the buffer. */ 52 size_t cbBufSize; 53 /** The buffer itself. */ 54 void *pvBuf; 55 } RTCIRCBUF; 56 57 58 38 59 RTDECL(int) RTCircBufCreate(PRTCIRCBUF *ppBuf, size_t cbSize) 39 60 {
Note:
See TracChangeset
for help on using the changeset viewer.