2456 Commits

Author SHA1 Message Date
Alena Prokharchyk
294d3a2fda Code format fixes 2012-02-10 15:10:21 -08:00
frank
52610ffcb3 add copyright header to shell scripts 2012-01-11 18:41:53 -08:00
Sheng Yang
c44db2557d bug 11772: Add improved version of locking for the scripts in the systemvm
Because currently the lock in the script is retried every 1 second, and it's a
quite a long time that it's possible for some other active script can be
executed and retain the lock again. So it's possible that the first one request
the lock is always being preemptted by others, then finally got timeout.

To fix this issue, the retry interval is reduced to 0.1 seconds, which would
provide more retry times. And each process want to get the lock would create a
file named lockname-PID.lock, and only the first one(judged by timestamp) would
get the lock. The remaining ones would retry every 0.1 seconds to see if it can
get the lock.

Also timeout time is extended to 30 seconds.

And add testcase for it.

status 11772: resolved fixed
2011-11-01 19:06:14 -07:00
anthony
e231ea1ab2 eclipse classpath fix 2011-08-31 15:51:19 -07:00
anthony
f47bf2e4cf fixed eclipse classpath 2011-08-31 13:35:37 -07:00
frank
d36a988d84 move simulator/test to opensource 2011-08-24 10:37:30 -07:00