It looks like threads might be a better option for you. There is a nice comparison of threads and processes here: When is clone() and fork better than pthreads?
Try looking at these tutorial to get the idea how to program pthreads: http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html