Skip to content

Commit bf6ecd4

Browse files
authored
Merge pull request #340 from lf-lang/semaphore-file-rename
Rename semaphore.h/c to lf_semaphore.h/c
2 parents e11540e + c5e5c80 commit bf6ecd4

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

core/threaded/scheduler_GEDF_NP.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5050
#include "scheduler_instance.h"
5151
#include "scheduler_sync_tag_advance.h"
5252
#include "scheduler.h"
53-
#include "semaphore.h"
53+
#include "lf_semaphore.h"
5454
#include "trace.h"
5555
#include "util.h"
5656

core/threaded/scheduler_NP.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4949
#include "scheduler_instance.h"
5050
#include "scheduler_sync_tag_advance.h"
5151
#include "scheduler.h"
52-
#include "semaphore.h"
52+
#include "lf_semaphore.h"
5353
#include "trace.h"
5454
#include "util.h"
5555
#include "reactor_threaded.h"

core/utils/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set(UTIL_SOURCES vector.c pqueue_base.c pqueue_tag.c pqueue.c util.c semaphore.c)
1+
set(UTIL_SOURCES vector.c pqueue_base.c pqueue_tag.c pqueue.c util.c lf_semaphore.c)
22

33

44
list(TRANSFORM UTIL_SOURCES PREPEND utils/)

core/utils/semaphore.c renamed to core/utils/lf_semaphore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131
* @author{Soroush Bateni <[email protected]>}
3232
*/
3333

34-
#include "semaphore.h"
34+
#include "lf_semaphore.h"
3535
#include <assert.h>
3636

3737
/**

include/core/threaded/scheduler_instance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4242
#define NUMBER_OF_WORKERS 1
4343
#endif // NUMBER_OF_WORKERS
4444

45-
#include "semaphore.h"
45+
#include "lf_semaphore.h"
4646
#include <stdbool.h>
4747

4848
#define DEFAULT_MAX_REACTION_LEVEL 100
File renamed without changes.

0 commit comments

Comments
 (0)