Skip to content
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

Make compilation of different network channels scalable #188

Open
erlingrj opened this issue Jan 14, 2025 · 0 comments
Open

Make compilation of different network channels scalable #188

erlingrj opened this issue Jan 14, 2025 · 0 comments

Comments

@erlingrj
Copy link
Collaborator

Currently there is a single source file, network_channel.c which conditionally includes all the source files providing the different network channel implementation. This is brittle since they all go into the same compilation unit. So any global (or static) variables will be shared across the different implementations.

The scalable solution is to instead conditionally include the various source files into the build. This means moving the logic out from C code (using macros), to Makefile/CMake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant