Replaces the globals currently used. Worth changing to a bitmap
before allowing runtime number of ports >> 64. One bit per port is likely
to be cheap enough that sizing for the worst case is always fine, otherwise
in the future we can change to dynamically allocating it.
Details
Details
- Reviewers
jhuber6 - Commits
- rGf497611f436c: [libc][rpc] Allocate locks array within process
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Main motivation is to make the client/server allocation simpler before extending the test coverage for these classes
libc/src/__support/RPC/rpc.h | ||
---|---|---|
107 | Number doesn't matter hugely at this point, have gone with deliberately != default_port_count. |
Number doesn't matter hugely at this point, have gone with deliberately != default_port_count.