Skip to content

Commit

Permalink
Merge pull request #340 from lf-lang/semaphore-file-rename
Browse files Browse the repository at this point in the history
Rename semaphore.h/c to lf_semaphore.h/c
  • Loading branch information
edwardalee authored Jan 31, 2024
2 parents e11540e + c5e5c80 commit bf6ecd4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/threaded/scheduler_GEDF_NP.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "scheduler_instance.h"
#include "scheduler_sync_tag_advance.h"
#include "scheduler.h"
#include "semaphore.h"
#include "lf_semaphore.h"
#include "trace.h"
#include "util.h"

Expand Down
2 changes: 1 addition & 1 deletion core/threaded/scheduler_NP.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "scheduler_instance.h"
#include "scheduler_sync_tag_advance.h"
#include "scheduler.h"
#include "semaphore.h"
#include "lf_semaphore.h"
#include "trace.h"
#include "util.h"
#include "reactor_threaded.h"
Expand Down
2 changes: 1 addition & 1 deletion core/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(UTIL_SOURCES vector.c pqueue_base.c pqueue_tag.c pqueue.c util.c semaphore.c)
set(UTIL_SOURCES vector.c pqueue_base.c pqueue_tag.c pqueue.c util.c lf_semaphore.c)


list(TRANSFORM UTIL_SOURCES PREPEND utils/)
Expand Down
2 changes: 1 addition & 1 deletion core/utils/semaphore.c → core/utils/lf_semaphore.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* @author{Soroush Bateni <[email protected]>}
*/

#include "semaphore.h"
#include "lf_semaphore.h"
#include <assert.h>

/**
Expand Down
2 changes: 1 addition & 1 deletion include/core/threaded/scheduler_instance.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define NUMBER_OF_WORKERS 1
#endif // NUMBER_OF_WORKERS

#include "semaphore.h"
#include "lf_semaphore.h"
#include <stdbool.h>

#define DEFAULT_MAX_REACTION_LEVEL 100
Expand Down
File renamed without changes.

0 comments on commit bf6ecd4

Please sign in to comment.