Skip to content

Commit

Permalink
#95 unlink semaphore after creation as other processes don't require …
Browse files Browse the repository at this point in the history
…access to it
  • Loading branch information
koekeishiya committed Jul 6, 2019
1 parent 5d9ecae commit 2b77413
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
- Fixed an issue that prevented *yabai* from running under multiple users simultaneously [#95](https://github.com/koekeishiya/yabai/issues/95)

## [1.0.3] - 2019-06-30
### Changed
Expand Down
1 change: 1 addition & 0 deletions src/event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ bool event_loop_init(struct event_loop *event_loop)
queue_init(&event_loop->queue);
event_loop->is_running = 0;
event_loop->semaphore = sem_open("event_loop_semaphore", O_CREAT, 0600, 0);
sem_unlink("event_loop_semaphore");
return event_loop->semaphore != SEM_FAILED;
}

Expand Down

0 comments on commit 2b77413

Please sign in to comment.