Sjors Provoost
74b7e9c7db
refactor: modernize deprecated ipc headers
...
Co-authored-by: fanquake <fanquake@gmail.com >
2025-06-19 16:29:55 +02:00
Ryan Ofsky
2221c8814d
depends: Update libmultiprocess library before converting to subtree
...
This should be the final update to the libmultiprocess package via the depends
system. It brings in the libmultiprocess cmake changes from
https://github.com/chaincodelabs/libmultiprocess/pull/136 needed to support
building as subtree. After this, a followup PR will add libmultiprocess as a
git subtree and depends will just use the git subtree instead of hardcoding its
own version hash.
Since there have been libmultiprocess API changes since the last update, this
commit also updates bitcoin code to be compatible with them.
This update brings in the following changes:
https://github.com/chaincodelabs/libmultiprocess/pull/121 ProxyClientBase: avoid static_cast to partially constructed object
https://github.com/chaincodelabs/libmultiprocess/pull/120 proxy-types.h: add static_assert to detect int/enum size mismatch
https://github.com/chaincodelabs/libmultiprocess/pull/127 ProxyClientBase: avoid static_cast to partially destructed object
https://github.com/chaincodelabs/libmultiprocess/pull/129 Fix "disconnected: write(m_post_fd, &buffer, 1): Broken pipe" EventLoop shutdown races.
https://github.com/chaincodelabs/libmultiprocess/pull/130 refactor: Add CleanupRun function to dedup clean list code
https://github.com/chaincodelabs/libmultiprocess/pull/131 doc: fix startAsyncThread comment
https://github.com/chaincodelabs/libmultiprocess/pull/133 Fix debian "libatomic not found" error in downstream builds
https://github.com/chaincodelabs/libmultiprocess/pull/94 c++ 20 cleanups
https://github.com/chaincodelabs/libmultiprocess/pull/135 refactor: proxy-types.h API cleanup
https://github.com/chaincodelabs/libmultiprocess/pull/136 cmake: Support being included with add_subdirectory
https://github.com/chaincodelabs/libmultiprocess/pull/137 doc: Fix broken markdown links
2025-01-26 14:13:47 -05:00
Ryan Ofsky
73fe7d7230
multiprocess: Add unit tests for connect, serve, and listen functions
2024-09-06 09:08:10 -04:00
Russell Yanofsky
955d4077aa
multiprocess: Add IPC connectAddress and listenAddress methods
...
Allow listening on and connecting to unix sockets.
2024-09-06 09:08:10 -04:00
MarcoFalke
3333415890
scripted-diff: LogPrint -> LogDebug
...
-BEGIN VERIFY SCRIPT-
sed -i 's/\<LogPrint\>/LogDebug/g' $( git grep -l '\<LogPrint\>' -- ./contrib/ ./src/ ./test/ ':(exclude)src/logging.h' )
-END VERIFY SCRIPT-
2024-08-29 13:49:57 +02:00
Russell Yanofsky
3e33d170cc
Add ipc::Context and ipc::capnp::Context structs
...
These are currently empty structs but they will be used to pass some
function and object pointers from bitcoin application code to IPC hooks
that run, for example, when a remote object is created or destroyed, or
a new process is created.
2021-06-10 09:58:45 -05:00
Russell Yanofsky
10afdf0280
multiprocess: Add Ipc interface implementation
2021-04-23 03:02:50 -05:00