mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
FIFOBuffer::read(T*, std::size_t) documentation inaccurate #869, part II
This commit is contained in:
@@ -179,7 +179,7 @@ public:
|
|||||||
/// preallocated to at least the length size
|
/// preallocated to at least the length size
|
||||||
/// before calling this function.
|
/// before calling this function.
|
||||||
///
|
///
|
||||||
/// Returns the reference to the buffer.
|
/// Returns the size of the copied data.
|
||||||
{
|
{
|
||||||
if (0 == length) return 0;
|
if (0 == length) return 0;
|
||||||
Mutex::ScopedLock lock(_mutex);
|
Mutex::ScopedLock lock(_mutex);
|
||||||
@@ -202,7 +202,7 @@ public:
|
|||||||
/// Resizes the supplied buffer to the size of
|
/// Resizes the supplied buffer to the size of
|
||||||
/// data written to it.
|
/// data written to it.
|
||||||
///
|
///
|
||||||
/// Returns the reference to the buffer.
|
/// Returns the size of the copied data.
|
||||||
{
|
{
|
||||||
Mutex::ScopedLock lock(_mutex);
|
Mutex::ScopedLock lock(_mutex);
|
||||||
if (!isReadable()) return 0;
|
if (!isReadable()) return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user