Evgeny
2011-07-22 03:48:08 UTC
Hi,
We are having issues with sort test. When run, it simply outputs
"Operation Took xxx seconds", we're sure it doesn't do any sorting.
After some investigation into sort user-level code, we found out that by
removing the srandom() and random() functions cause the sort program to
quit. After we commented out those lines and replaced them with
non-random values (i.e. setting each array index to i), the application
works correctly.
Could you please let me know what might cause this? Does srandom() or
random() use some special features? Could you recommend a strategy to
resolve this?
Thank you.
We are having issues with sort test. When run, it simply outputs
"Operation Took xxx seconds", we're sure it doesn't do any sorting.
After some investigation into sort user-level code, we found out that by
removing the srandom() and random() functions cause the sort program to
quit. After we commented out those lines and replaced them with
non-random values (i.e. setting each array index to i), the application
works correctly.
Could you please let me know what might cause this? Does srandom() or
random() use some special features? Could you recommend a strategy to
resolve this?
Thank you.