Wrote worker thread. Nothing tested. Still to write writer thread.
Server needs writer thread, otherwise works. Next: writer thread, client should write to shared memory.