~ changed shared memory size
This commit is contained in:
parent
4a63787d11
commit
04439123c2
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user