History log of /haiku/headers/private/kernel/util/ring_buffer.h
Revision Date Author Comments
# 303ff56a 11-Aug-2023 Trung Nguyen <trungnt282910@gmail.com>

unix: Implement SO_RCVBUF

Implemented `UnixBufferQueue::SetCapacity` so that `setsockopt`
with `SO_RCVBUF` will not always return an error.

Change-Id: I2d9be84633f84474fac64b379e9f89ef2751a094
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6816
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# fac2ce3d 16-Mar-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Added ring_buffer_get_vecs() that returns iovecs describing the contents of
the buffer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35880 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 546f4e5e 11-Mar-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added create_ring_buffer_etc() which allows to re-create a ring buffer from
a given flat buffer.
* Added ring_buffer_peek() for random position reading from the ring buffer
without changing its state.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35813 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b46f622 30-Jul-2008 Axel Dörfler <axeld@pinc-software.de>

* Made struct ring_buffer public (within the kernel).
* Added "syslog" command that dumps the contents of the syslog ring buffer into
KDL. Use the '-n' option to only show what hasn't been sent to the syslog
daemon yet.
* When entering the kernel debugger, the current thread ID and name are also
printed (not only the current CPU).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26684 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ef2b38e7 12-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Added a simple ring buffer implementation to be used by the mouse
and keyboard drivers, as well as pipefs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12357 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fac2ce3d9262838443b187673c5e724a9b7714a1 16-Mar-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Added ring_buffer_get_vecs() that returns iovecs describing the contents of
the buffer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35880 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 546f4e5e0500593b0c7cd0afa12e5e62d2b14707 11-Mar-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added create_ring_buffer_etc() which allows to re-create a ring buffer from
a given flat buffer.
* Added ring_buffer_peek() for random position reading from the ring buffer
without changing its state.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35813 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b46f622d157d4313672dcd6220fbec0749e268b 30-Jul-2008 Axel Dörfler <axeld@pinc-software.de>

* Made struct ring_buffer public (within the kernel).
* Added "syslog" command that dumps the contents of the syslog ring buffer into
KDL. Use the '-n' option to only show what hasn't been sent to the syslog
daemon yet.
* When entering the kernel debugger, the current thread ID and name are also
printed (not only the current CPU).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26684 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ef2b38e7a9bccdc978660a478536db21cac9a876 12-Apr-2005 Axel Dörfler <axeld@pinc-software.de>

Added a simple ring buffer implementation to be used by the mouse
and keyboard drivers, as well as pipefs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12357 a95241bf-73f2-0310-859d-f6bbb57e9c96