I inherited from someone a multithreaded application that issues about 20 or
so system() calls. All similar to:
system("mkdir -p /tmp/20051124");
(Please hold your flames over the usage of system() in multi-threaded
application :-) )
after some time of execution it issues the
system("mkdir -p /tmp/20051128")
which never returns. Could someone recommend a possible theory why it could
happen and suggest a strategy of debugging it?
Note, I have absolutely no problems typing "mkdir -p /tmp/20051128" in a
separate shell window and executing it.