Skip to content

Commit

Permalink
common/libflux: Add ebuf data structure
Browse files Browse the repository at this point in the history
Add new event buffer data structure.  A generic buffer data structure
that can generate events when data is read/written from/to.
  • Loading branch information
chu11 committed Apr 25, 2018
1 parent 01e2403 commit e32f48e
Show file tree
Hide file tree
Showing 4 changed files with 1,042 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/common/libflux/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ fluxcoreinclude_HEADERS = \
heartbeat.h \
content.h \
future.h \
barrier.h
barrier.h \
ebuf.h

noinst_LTLIBRARIES = \
libflux.la
Expand Down Expand Up @@ -102,7 +103,8 @@ libflux_la_SOURCES = \
keepalive.c \
content.c \
future.c \
barrier.c
barrier.c \
ebuf.c

libflux_la_CPPFLAGS = \
$(installed_conf_cppflags) \
Expand All @@ -118,7 +120,8 @@ TESTS = test_module.t \
test_tagpool.t \
test_security.t \
test_future.t \
test_reactor.t
test_reactor.t \
test_ebuf.t

test_ldadd = \
$(top_builddir)/src/common/libflux/libflux.la \
Expand Down Expand Up @@ -179,3 +182,7 @@ test_security_t_LDADD = $(test_ldadd) $(LIBDL)
test_future_t_SOURCES = test/future.c
test_future_t_CPPFLAGS = $(test_cppflags)
test_future_t_LDADD = $(test_ldadd) $(LIBDL)

test_ebuf_t_SOURCES = test/ebuf.c
test_ebuf_t_CPPFLAGS = $(test_cppflags)
test_ebuf_t_LDADD = $(test_ldadd) $(LIBDL)
Loading

0 comments on commit e32f48e

Please sign in to comment.