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

Add test to make sure the types in the pool stay Send and/or Sync #80

Merged
merged 1 commit into from Aug 10, 2017

Conversation

Projects
None yet
2 participants
@dns2utf8
Copy link
Member

dns2utf8 commented Aug 9, 2017

The tests are run at compile time. Found the trick at the api-guidlines.

@frewsxcv

This comment has been minimized.

Copy link
Collaborator

frewsxcv commented Aug 10, 2017

bors r+

bors bot added a commit that referenced this pull request Aug 10, 2017

Merge #80
80: Add test to make sure the types in the pool stay Send and/or Sync r=frewsxcv

The tests are run at compile time. Found the trick at [the api-guidlines](https://rust-lang-nursery.github.io/api-guidelines/interoperability.html#types-are-send-and-sync-where-possible-c-send-sync).
@bors

This comment has been minimized.

Copy link
Contributor

bors bot commented Aug 10, 2017

@bors bors bot merged commit 1b1dcf1 into rust-threadpool:master Aug 10, 2017

3 of 4 checks passed

continuous-integration/travis-ci/push The Travis CI build could not complete due to an error
Details
bors Build succeeded
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@dns2utf8 dns2utf8 deleted the dns2utf8:assert_send branch Aug 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.