Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-08-05 09:49:58 -0700 (Thu, 05 Aug 2004)
Revision: 480
Log message:

      Fixed a problem with threads and pipes.  For example, the command
      
      echo 1 | cat
      
      would block, because the handle duplicates used by the thread
      for the echo would be inherited by the cat.  So cat would have
      a handle to its own input, and the pipe would never get closed.
      

Changes  Path
+51 -3 omake-branches/shell_begin/Files
+19 -16 omake-branches/shell_begin/Makefile.dep.nt
+11 -3 omake-branches/shell_begin/Makefile.nt
+22 -21 omake-branches/shell_begin/src/build/omake_builtin_shell.ml
+7 -4 omake-branches/shell_begin/src/clib/omake_shell_sys.c
+2 -2 omake-branches/shell_begin/src/env/omake_exn_print.ml
+2 -1 omake-branches/shell_begin/src/eval/omake_eval.ml
+3 -1 omake-branches/shell_begin/src/main/omake_main.ml
+127 -70 omake-branches/shell_begin/src/shell/omake_shell_job.ml
+1 -1 omake-branches/shell_begin/src/shell/omake_shell_job.mli
+13 -21 omake-branches/shell_begin/src/shell/omake_shell_sys.mli
Added omake-branches/shell_begin/src/shell/omake_shell_sys_type.ml
Properties omake-branches/shell_begin/src/shell/omake_shell_sys_type.ml
+40 -27 omake-branches/shell_begin/src/shell/omake_shell_sys_win32.ml
+36 -0 omake-branches/shell_begin/src/shell/omake_shell_type.ml