test push der aktuellen quelldateien
This commit is contained in:
parent
68dfe30c69
commit
121ae391c0
|
@ -22,10 +22,10 @@ int main(int argc, char** argv)
|
|||
//if verschieden information ausgaben
|
||||
if(eingabe == "info")
|
||||
{
|
||||
std::cout << "OUTPUT ------------------------ OUTPUT" << std::endl;
|
||||
std::cout << "OUTPUT ------------------------ OUTPUT\n" << std::endl;
|
||||
std::cout << "memory ID: " << shmget(impl.sharedMemoryKey, 0, 0) << std::endl;
|
||||
std::cout << "Max memory Size: " << Max_Memory_Size << std::endl;
|
||||
std::cout << "OUTPUT ------------------------ OUTPUT" << std::endl;
|
||||
std::cout << "OUTPUT ------------------------ OUTPUT\n" << std::endl;
|
||||
//Memory that is used now
|
||||
//outprint of all memory
|
||||
}
|
||||
|
|
|
@ -23,6 +23,7 @@ std::string getAnswerFromUser()
|
|||
std::cout << "wrong input: pls answer with (y) for yes, (n) for no, or (override)\n";
|
||||
getAnswerFromUser();
|
||||
}
|
||||
return "-0";
|
||||
}
|
||||
|
||||
|
||||
|
@ -48,7 +49,7 @@ void initSharedMemory(void) {
|
|||
initSharedMemory();
|
||||
}
|
||||
} else {
|
||||
std::cout << "Shared Memory ist (Re-) allocated with Key: " << impl.sharedMemoryKey << std::endl;
|
||||
std::cout << "Shared Memory is (Re-) allocated with Key: " << impl.sharedMemoryKey << std::endl;
|
||||
}
|
||||
} else {
|
||||
std::cerr <<"key -> " << impl.sharedMemoryKey << " is not allowed here " << std::endl;
|
||||
|
|
Loading…
Reference in New Issue