What operating system?
(Looks like unix. What is the function for creating a timer?)
Where is p_old_server coming from.