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

Fix issues with forking on Cygwin #1450

Merged
merged 3 commits into from
Feb 8, 2018

Commits on Feb 6, 2018

  1. Rewrite this test to work with ctest and re-enable it on the appropri…

    …ate platforms (including Cygwin, which has fork())
    embray committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    ce2028b View commit details
    Browse the repository at this point in the history
  2. Perform blas_thread_shutdown with pthread_atfork() on Cygwin

    Even if we're directly using the win32 threading driver and not pthreads,
    pthread_atfork still works fine to register a pre-fork handler, and is
    necessary to restore the threading server to a pre-initialized state.
    embray committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    f5fc109 View commit details
    Browse the repository at this point in the history
  3. On Cygwin use mmap instead of Windows native allocation functions, wh…

    …ich are not fork-safe.
    embray committed Feb 6, 2018
    Configuration menu
    Copy the full SHA
    8f5f614 View commit details
    Browse the repository at this point in the history