Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions examples/modules.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import libremidi;

#include <cstdlib>
#include <iostream>
#include <cstdio>
#include <iomanip>

import libremidi;

inline std::ostream& operator<<(std::ostream& s, const libremidi::message& message)
{
Expand Down
2 changes: 1 addition & 1 deletion include/libremidi/detail/semaphore.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ struct semaphore_pair_lock

// FIXME if jack is not running we can skip this
this->sem_needpost.release();
this->sem_cleanup.try_acquire_for(1s);
(void)this->sem_cleanup.try_acquire_for(1s);
}

void check_client_released()
Expand Down
Loading