Improved shared memory namings to no longer use the '#' character, added cmake-related files to .gitignore

This commit is contained in:
Thulinma 2015-04-12 15:31:52 +02:00
parent f94141ca26
commit c000249ad5
2 changed files with 10 additions and 3 deletions

7
.gitignore vendored
View file

@ -43,4 +43,11 @@ server.html*
.sync
*.pc
*.swp
Makefile
CMakeFiles
mist
*.cmake
Doxyfile
CMakeCache.txt
DartConfiguration.tcl

View file

@ -69,9 +69,9 @@ static const char * DBG_LVL_LIST[] = {"NONE", "FAIL", "ERROR", "WARN", "INFO", "
#define FLIP_DATA_PAGE_SIZE 8 * 1024 * 1024
#define SHM_STREAM_INDEX "MstSTRM%s" //%s stream name
#define SHM_TRACK_META "MstTRAK%s#%lu" //%s stream name, %lu track ID
#define SHM_TRACK_INDEX "MstTRID%s#%lu" //%s stream name, %lu track ID
#define SHM_TRACK_DATA "MstDATA%s#%lu@%lu" //%s stream name, %lu track ID, %lu page #
#define SHM_TRACK_META "MstTRAK%s@%lu" //%s stream name, %lu track ID
#define SHM_TRACK_INDEX "MstTRID%s@%lu" //%s stream name, %lu track ID
#define SHM_TRACK_DATA "MstDATA%s@%lu+%lu" //%s stream name, %lu track ID, %lu page #
#define SHM_STATISTICS "MstSTAT"
#define SHM_USERS "MstUSER%s" //%s stream name
#define SEM_LIVE "MstLIVE%s" //%s stream name