From 296cd152457559e262fcb64c429ca83f8a0c6b0c Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 23 Feb 2005 04:20:02 +0000 Subject: [PATCH] =?utf8?q?Un=20recurso=20m=C3=A1s=20para=20tratar=20de=20e?= =?utf8?q?vitar=20el=20race.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/sc_test | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sc_test b/src/sc_test index a18499e..e532a7f 100755 --- a/src/sc_test +++ b/src/sc_test @@ -36,6 +36,7 @@ class secure_process: resource.setrlimit(resource.RLIMIT_MEMLOCK, x2(100)) resource.setrlimit(resource.RLIMIT_NOFILE, x2(100)) resource.setrlimit(resource.RLIMIT_NPROC, x2(0)) + sleep(0) # para tratar de forzar un sync para que entre al sleep del padre def sigchld(signum, frame): """Signal handler para SIGCHILD.""" -- 2.43.0