Lets say I have two functions that I want to run simultaneously for different purposes as example a function handles an XML RPC requests and the other function handles an IRC connection to an IRCD. what my goal would be to avoid program hang ups on user requests. Is pthreads capable of running functions in a way that they won't interfere with each others processing loops? I have been studying them and I seam to be unable to grasp a method that is efficient for processing two sources at once or with least lag. Can you share with me some methods on how you would do it? Try to keep in mind that I am new to C.