~ changed shared memory size

This commit is contained in:
Julian Hinxlage 2019-11-27 13:08:32 +01:00
parent 4a63787d11
commit 04439123c2
2 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,6 @@ int main(int argc, char** argv) {
std::atexit(deleteSharedMemory);
std::string eingabe;
while(eingabe != "exit") {
std::cout << "cmd# ";
std::cin >> eingabe;

View File

@ -6,9 +6,8 @@
//ID-Speicherbereich
//Größe des Speicherbereichs hier 8MB (8000)
#define shmMaxSize 8000
//Shared-Memory-Segment erstellen oder öffnen shmget()
#define Max_Memory_Size 8000
#define Max_Memory_Size 8000 * 1024
void deleteSharedMemory(int s);
void deleteSharedMemory(void);
void initSharedMemory(void);