Hi all,
As the time when Tiers will be split to 1/2/3 draws near, and with it tighter time limits on Tier 1 tasks, I thought that using "sleep n" for process synchronisation is a little bit too hackish.
The first routine I made is able to wait for some process to start listening on a socket (either network or UNIX). With that I'm able to execute tasks need to start many network servers in background much quicker on fast systems (majority of x86_64 machines) while the tasks still execute properly on s390x.
I'll be working on making a more universal solution, including solution to bug 970143.
Hubert Kario (2): new routines for socket based synchronisation add synchronisation to system library
src/Makefile | 1 + src/beakerlib.sh | 1 + src/synchronisation.sh | 182 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 184 insertions(+) create mode 100644 src/synchronisation.sh