summaryrefslogtreecommitdiffhomepage
path: root/compat/shm.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-09-30 11:28:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-09-30 11:28:32 +0200
commit819e635af2b64213f1076eb4a99bba8c48cfdb68 (patch)
treec2bf5d3fd83ff6996d252f9477562e7e26234a89 /compat/shm.h
parenta48349deb6a70631ae95e9e0505930949f1e8dac (diff)
remove camel case
Diffstat (limited to 'compat/shm.h')
-rw-r--r--compat/shm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/compat/shm.h b/compat/shm.h
index 3b37a8a3..61efaf68 100644
--- a/compat/shm.h
+++ b/compat/shm.h
@@ -21,18 +21,18 @@
#include "export.hpp"
-class OTR_COMPAT_EXPORT PortableLockedShm final
+class OTR_COMPAT_EXPORT shm_wrapper final
{
void* mem;
#if defined(_WIN32)
- HANDLE hMutex, hMapFile;
+ HANDLE mutex, mapped_file;
#else
int fd, size;
#endif
public:
- PortableLockedShm(const char *shmName, const char *mutexName, int mapSize);
- ~PortableLockedShm();
+ shm_wrapper(const char *shm_name, const char *mutex_name, int map_size);
+ ~shm_wrapper();
bool lock();
bool unlock();
bool success();