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 Macos support #15

Open
wants to merge 7 commits into
base: unity
Choose a base branch
from
Open

Commits on Oct 25, 2021

  1. Configuration menu
    Copy the full SHA
    a33bc47 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    301eef5 View commit details
    Browse the repository at this point in the history
  3. Add clean step to Makefile

    blaztinn committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    3d7dd35 View commit details
    Browse the repository at this point in the history
  4. Fix compile ambiguity

    blaztinn committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    e912e06 View commit details
    Browse the repository at this point in the history
  5. Include outside of namespace

    blaztinn committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    e8ef34b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e4a212a View commit details
    Browse the repository at this point in the history
  7. Make pthreads work on macos

    Instead of `pthread_spinlock_t` use `os_unfair_lock_t` because macos
    is missing the pthread spinlock.
    
    `sem_init` is deprecated on macos and always returns `-1`. Use
    `sem_open` together with `sem_unlink` to open an exclusive sempahore in
    global namespace.
    
    Use `sem_wait` because `sem_timedWait` is missing on macos.
    blaztinn committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    96c3db7 View commit details
    Browse the repository at this point in the history