Obsolete
/
libipc-old
Archived
3
0
Fork 0
OLD IMPLEMENTATION. The new one is in Zig and fucking ROCKS: https://git.baguette.netlib.re/Baguette/libipc Inter-Process Communication library based on unix sockets.
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
Go to file
Karchnu 02c25c150d fixing a memory leak 2020-07-10 23:43:11 +02:00
examples lacking default cb_out 2020-07-08 12:40:24 +02:00
man WIP 2020-06-27 19:16:07 +02:00
src fixing a memory leak 2020-07-10 23:43:11 +02:00
tests s/events_loop/wait_event/ 2020-07-06 08:43:06 +02:00
.gitignore Meaningful error msg, -logging +directory management, indentation. 2020-01-01 12:11:34 +01:00
Makefile WIP: no mem leaks on simple use. switch still to test. 2020-07-01 09:53:24 +02:00
README.md usock doesn't handle memory allocation anymore 2020-07-08 13:38:48 +02:00
project.zsh libipc now uses 64-bit float (double) timers. 2020-06-12 02:09:46 +02:00

README.md

libipc

libipc - Simple, easy-to-use IPC library

See the introductory man page.

Compilation

make

logging system

Logs are in one of the following directories: $XDG_DATA_HOME/ipc/ or $HOME/.local/share/ipc/. The log file can be indicated with the IPC_LOGFILE environment variable, too.

To remove logs: make LDFLAGS=-DIPC_WITHOUT_ERRORS

Planning for 0.7

  • libipc should have callbacks to use along with switching capabilities, making easier to implement proxies with communication protocols

Planning for 0.8

  • libipc should be thread-safe

Planning for 0.8

  • libipc should use libevent for performance improvments

Planning for 1.0

  • libipc should have usable bindings in several languages

Implementation design

Memory management

  1. Prefer stack over mallocs.
  2. Basic functions (such as usock_) should not handle memory allocation.