-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libmemif #1
base: master
Are you sure you want to change the base?
libmemif #1
Conversation
Makefile.am
Outdated
# utils test | ||
# | ||
utils_test_SOURCES = test/utils_test.c test/vec_test.c | ||
utils_test_LDADD = libutils.la |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one lib called libmemif.so please
src/socket.c
Outdated
|
||
#define memif_min(a,b) a < b ? a : b | ||
|
||
/* fifo is used as message queue, fifo will probably remain as it is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for message queue please use linked list instead of fifo. i.e.:
typedef struct memif_msg_queue_elt_ {
memif_msg_t msg;
int fd;
struct memif_msg_queue_elt_ *next;
} memif_msg_queue_elt_t;
simple mmeory management functions in vector and fifo folders.
header files cover basic functions and typedefs necessary for connection establishment.
implementation (and possibly demo app) will be added in next pull request