Change filename "cmutex.h" to "lock.h" 91/277991/1
authorTaeminYeom <taemin.yeom@samsung.com>
Mon, 18 Jul 2022 00:46:38 +0000 (09:46 +0900)
committerTaeminYeom <taemin.yeom@samsung.com>
Mon, 18 Jul 2022 00:46:38 +0000 (09:46 +0900)
Change-Id: I42689942d5b220244dffab30557d2ac2055b590d
Signed-off-by: TaeminYeom <taemin.yeom@samsung.com>
src/api/sensor-internal.cpp
src/api/sensor_listener.h
src/shared/channel.h
src/shared/event_loop.h
src/shared/lock.cpp [moved from src/shared/cmutex.cpp with 99% similarity]
src/shared/lock.h [moved from src/shared/cmutex.h with 96% similarity]

index 35b20b5..77d3c58 100644 (file)
@@ -26,7 +26,7 @@
 #include <sensor_listener.h>
 #include <sensor_provider_internal.h>
 #include <sensor-log-private.h>
-#include <cmutex.h>
+#include <lock.h>
 #include <command_types.h>
 #include "sensor_reader.h"
 
index f654353..eeb8065 100644 (file)
@@ -25,7 +25,7 @@
 #include <event_loop.h>
 #include <sensor_info.h>
 #include <sensor-types-private.h>
-#include <cmutex.h>
+#include <lock.h>
 #include <map>
 #include <atomic>
 #include <vector>
index dec1149..32a200c 100644 (file)
@@ -28,7 +28,7 @@
 #include "message.h"
 #include "event_loop.h"
 #include "channel_handler.h"
-#include "cmutex.h"
+#include "lock.h"
 
 namespace ipc {
 
index aeae959..6e560ff 100644 (file)
@@ -26,7 +26,7 @@
 #include <map>
 
 #include "event_handler.h"
-#include "cmutex.h"
+#include "lock.h"
 
 namespace ipc {
 
similarity index 99%
rename from src/shared/cmutex.cpp
rename to src/shared/lock.cpp
index c29aa72..650e5c7 100644 (file)
@@ -20,7 +20,7 @@
 #include <pthread.h>
 #include <stdio.h>
 #include <sys/time.h>
-#include <cmutex.h>
+#include <lock.h>
 #include <sensor-log-private.h>
 
 using namespace sensor;
similarity index 96%
rename from src/shared/cmutex.h
rename to src/shared/lock.h
index 91219a0..3961779 100644 (file)
@@ -17,8 +17,8 @@
  *
  */
 
-#ifndef _CMUTEX_H_
-#define _CMUTEX_H_
+#ifndef _LOCK_H_
+#define _LOCK_H_
 
 #include <pthread.h>
 
@@ -69,4 +69,4 @@ public:
 };
 
 }
-#endif /* _CMUTEX_H_ */
+#endif /* _LOCK_H_ */