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

Allocator for sockets. #14

Open
gabyx opened this issue Jan 6, 2019 · 0 comments
Open

Allocator for sockets. #14

gabyx opened this issue Jan 6, 2019 · 0 comments

Comments

@gabyx
Copy link
Owner

gabyx commented Jan 6, 2019

This is a relatively easy task.
The Sockets should definitely use a RawAllocator (foonathan) such that the memory is continuous for each type.
This is easily implemented and added.

  • Node::CTOR : takes the SocketFactory templated over the TConfig
  • The SocketFactory uses a internally a RawAllocator (templated) which is used for the allocation of the Socket.
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