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

Swap Reactor's generic socket token for a concreate type #23

Closed
carllerche opened this issue Sep 30, 2014 · 1 comment
Closed

Swap Reactor's generic socket token for a concreate type #23

carllerche opened this issue Sep 30, 2014 · 1 comment

Comments

@carllerche
Copy link
Member

There isn't much point to using a generic for the token that represents a socket because:

  • It must fit in a uintptr_t
  • It must be Copy because there is no clear point for the reactor to clean it up.

Because of this, it makes more sense for Token to be a new type around uint.

@carllerche
Copy link
Member Author

Resolved by #25

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

No branches or pull requests

1 participant