One of the decisions you need to take when you write a multi tasking application is whether to use processes (using fork system call) or threads (using posix library) The main benefit of using multiple threads is the memory that is shared between them but this feature can also make problems while one thread for […]