[riot-commits] [RIOT-OS/RIOT] aaa95a: ringbuffer: remove example

René Kijewski kijewski at mi.fu-berlin.de
Mon Jul 28 23:20:44 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: aaa95a281ae8089f1865739474483144d731ff3a
      https://github.com/RIOT-OS/RIOT/commit/aaa95a281ae8089f1865739474483144d731ff3a
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-07-28 (Mon, 28 Jul 2014)

  Changed paths:
    M sys/lib/ringbuffer.c

  Log Message:
  -----------
  ringbuffer: remove example


  Commit: 67856d63d93f6b1f0e8a62ee4a2df9b78961fc9e
      https://github.com/RIOT-OS/RIOT/commit/67856d63d93f6b1f0e8a62ee4a2df9b78961fc9e
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-07-28 (Mon, 28 Jul 2014)

  Changed paths:
    M sys/include/ringbuffer.h
    M sys/lib/ringbuffer.c

  Log Message:
  -----------
  ringbuffer: add convenience functions

This patch add `peek` functionality, and empty and full helpers.


  Commit: 726af8d44e3a1ac5d3d387300618ed887874ccd5
      https://github.com/RIOT-OS/RIOT/commit/726af8d44e3a1ac5d3d387300618ed887874ccd5
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-07-28 (Mon, 28 Jul 2014)

  Changed paths:
    M sys/include/ringbuffer.h
    M sys/lib/ringbuffer.c

  Log Message:
  -----------
  ringbuffer: fix parameter types

It is a bad idea to use signed types for lengths.
Mark pointers a `restrict`, since the ringbuffer is not thread safe
anyway.


  Commit: 47950e8bab3a3ff5812e92eecd7a3de9631352a9
      https://github.com/RIOT-OS/RIOT/commit/47950e8bab3a3ff5812e92eecd7a3de9631352a9
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-07-28 (Mon, 28 Jul 2014)

  Changed paths:
    M sys/include/ringbuffer.h
    M sys/lib/ringbuffer.c

  Log Message:
  -----------
  ringbuffer: remove pointer to the end

There is no need for an explicit pointer to the end of the buffer.


  Commit: a346276d3084ab76f1d950bfc87f9bcafdcdcb91
      https://github.com/RIOT-OS/RIOT/commit/a346276d3084ab76f1d950bfc87f9bcafdcdcb91
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-07-28 (Mon, 28 Jul 2014)

  Changed paths:
    M sys/include/ringbuffer.h
    M sys/lib/ringbuffer.c

  Log Message:
  -----------
  ringbuffer: don't overwrite in `ringbuffer_add`


  Commit: 201152a6d32c41f035629a8aead81c478a09f24e
      https://github.com/RIOT-OS/RIOT/commit/201152a6d32c41f035629a8aead81c478a09f24e
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-07-28 (Mon, 28 Jul 2014)

  Changed paths:
    M sys/include/ringbuffer.h
    M sys/lib/ringbuffer.c

  Log Message:
  -----------
  ringbuffer: add documentation


  Commit: 02aeca02db90295a2f6e21fd0438cd2748e9426b
      https://github.com/RIOT-OS/RIOT/commit/02aeca02db90295a2f6e21fd0438cd2748e9426b
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-07-28 (Mon, 28 Jul 2014)

  Changed paths:
    M sys/include/ringbuffer.h

  Log Message:
  -----------
  ringbuffer: add static initializer


  Commit: faf9bb5073f1a07b75e9d49b9774241a1c0d5de5
      https://github.com/RIOT-OS/RIOT/commit/faf9bb5073f1a07b75e9d49b9774241a1c0d5de5
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-07-28 (Mon, 28 Jul 2014)

  Changed paths:
    A tests/unittests/tests-lib/Makefile
    A tests/unittests/tests-lib/Makefile.include
    A tests/unittests/tests-lib/tests-lib-ringbuffer.c
    A tests/unittests/tests-lib/tests-lib.c
    A tests/unittests/tests-lib/tests-lib.h

  Log Message:
  -----------
  tests: add ringbuffer unittest


  Commit: 2c885bacaf4a5656aeaefebc091c317aec0c1880
      https://github.com/RIOT-OS/RIOT/commit/2c885bacaf4a5656aeaefebc091c317aec0c1880
  Author: René Kijewski <kijewski at mi.fu-berlin.de>
  Date:   2014-07-28 (Mon, 28 Jul 2014)

  Changed paths:
    M sys/include/ringbuffer.h
    M sys/lib/ringbuffer.c
    A tests/unittests/tests-lib/Makefile
    A tests/unittests/tests-lib/Makefile.include
    A tests/unittests/tests-lib/tests-lib-ringbuffer.c
    A tests/unittests/tests-lib/tests-lib.c
    A tests/unittests/tests-lib/tests-lib.h

  Log Message:
  -----------
  Merge pull request #1101 from Kijewski/issue-979-2

ringbuffer: versatility and optimizations


Compare: https://github.com/RIOT-OS/RIOT/compare/5cb11e5608bd...2c885bacaf4a


More information about the commits mailing list