diff --git a/Readme.md b/Readme.md index 20f5e80..6bb8fce 100644 --- a/Readme.md +++ b/Readme.md @@ -1,14 +1,17 @@ -# Todo -## Extra -Add support for multiple clients at the same time -server - client pings server every 100 msecs, and only starts writing after receiving SIGUSR2 back - client sends \0 when done -server - server waits for a signal when pid = 1 - when server receives signal it sets the pid to the sender pid - it keeps ignoring signals from other PIDs untill it received \0 from the current pid - after \0 is received pid is set back to 1 -# Tester -add valgrind to tester -check for -Wall -Werror -Wextra +# Minitalk +## Description +Minitalk is a simple project that requires you to use unix signals to send over strings between 2 programs. +We can only use **SIGUSR1** and **SIGUSR2** and we can use the kill function to send them over +## Improvements +### Add support for multiple clients at the same time +#### Client +- client pings server every 100 msecs, and only starts writing after receiving SIGUSR2 back +- client sends \0 when done +#### Server +- server waits for a signal when pid = 1 +- when server receives signal it sets the pid to the sender pid +- it keeps ignoring signals from other PIDs untill it received \0 from the current pid +- after \0 is received pid is set back to 1 +## Tester +- add valgrind to tester +- check for -Wall -Werror -Wextra diff --git a/vgcore.473853 b/vgcore.473853 deleted file mode 100644 index 714cf3d..0000000 Binary files a/vgcore.473853 and /dev/null differ