aboutsummaryrefslogtreecommitdiffstats
path: root/fastos
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-02-02 05:31:48 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-02-02 05:31:48 +0000
commitcad7af3ec2d6fd8e1d70c3575088d0edab4bbe41 (patch)
treef3e3d1928dc7fc7de69278f0b90b5f8f8b2695a4 /fastos
parent82decc80ef372dfdcde493c5d84b4a11ff0655bf (diff)
Properly track execution of BucketTasks and provide sync() and orderly shutdown.
Diffstat (limited to 'fastos')
-rw-r--r--fastos/src/vespa/fastos/ringbuffer.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/fastos/src/vespa/fastos/ringbuffer.h b/fastos/src/vespa/fastos/ringbuffer.h
index 41c0af7385b..89b1bb84c9c 100644
--- a/fastos/src/vespa/fastos/ringbuffer.h
+++ b/fastos/src/vespa/fastos/ringbuffer.h
@@ -42,18 +42,6 @@ public:
_closed = false;
}
- FastOS_RingBufferData *GetData () { return _data; }
-
- void RepositionDataAt0 ()
- {
- uint8_t *src = &_data->_buffer[_dataIndex];
- uint8_t *dst = _data->_buffer;
-
- for(int i=0; i<_dataSize; i++)
- *dst++ = *src++;
- _dataIndex = 0;
- }
-
FastOS_RingBuffer (int bufferSize)
: _closed(false),
_data(0),
@@ -93,11 +81,6 @@ public:
_dataSize += bytes;
}
- int GetDataSize ()
- {
- return _dataSize;
- }
-
int GetWriteSpace ()
{
int spaceLeft = _bufferSize - _dataSize;