Skip to content
Permalink
Browse files

Add reference counting implementation

The API can be greatly simplified if we add reference counting to the
different objects that are passed around between threads
  • Loading branch information...
PerilousApricot committed Jul 8, 2016
1 parent 90a9066 commit aeedbe9b5cb87c199c149537192b51e0c32dce9a
Showing with 1,002 additions and 6 deletions.
  1. +2 −0 CMakeLists.txt
  2. +873 −5 doc/api-autogen.rst
  3. +20 −0 doc/refcount.rst
  4. +1 −1 doc/toolbox.rst
  5. +79 −0 src/toolbox/tbx/ref.h
  6. +2 −0 test/test-list.h
  7. +25 −0 test/test-tb-ref.c
@@ -243,9 +243,11 @@ if(BUILD_TESTS)
test/runner.c
test/runner-unix.c
test/test-harness.c
test/test-tb-ref.c
test/test-tb-stk.c
test/test-tb-stack.c)
target_link_libraries(run-tests pthread lio)
target_include_directories(run-tests SYSTEM PRIVATE ${APR_INCLUDE_DIR})
add_executable(run-benchmarks test/run-benchmarks.c
test/runner.c
test/runner-unix.c

0 comments on commit aeedbe9

Please sign in to comment.
You can’t perform that action at this time.