I have a program , custom , thats eating cpu cycles by running
getttimeofday
i searched around and found a way to load my own library with empty gettimeofday ()
it seemed to help as the process is accessing my version
but now the program hangs and strace shows

Code:
poll  ([{fd=4, events=POLLIN}, {fd=0, events=POLLIN}], 2, 4) = 0 (Timeout)
is there a way someone can help me with this ?
can send full strace if that helps you figure out what its doing ?
sorry i dont have source code for it


main point .. if i run one copy of the program it works but 2 or more copies it displays this behaviour..if i let it use the regular gettimeofday then it crashes with segmentation fault: resource temporarily available