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

test1565: fix windows build errors #7527

Closed
wants to merge 1 commit into from
Closed

Conversation

jay
Copy link
Member

@jay jay commented Aug 2, 2021

  • Define a macro sleep(sec) to call Sleep(sec * 1000).

  • Use a separate variable to keep track of whether the pthread_t thread
    id is valid.

On Windows pthread_t is not an integer type. pthread offers no macro for
invalid pthread_t thread id, so validity is kept track of separately.

Closes #xxxx

- Define a macro sleep(sec) to call Sleep(sec * 1000).

- Use a separate variable to keep track of whether the pthread_t thread
  id is valid.

On Windows pthread_t is not an integer type. pthread offers no macro for
invalid pthread_t thread id, so validity is kept track of separately.

Closes #xxxx
@jay jay added tests Windows labels Aug 2, 2021
@mback2k
Copy link
Member

@mback2k mback2k commented Aug 3, 2021

Maybe use wait_ms instead of Sleep?

@jay jay deleted the fix_test1565_for_mingw branch Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants