Branch: Tag:

2010-11-19

2010-11-19 11:52:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Ensure that the writer thread closes its fd before it exits.

224: Inside #if 0 //constant(Thread.Thread)
      if (mystdin) {    threads += ({ -  thread_create(lambda(Stdio.File f) { f->write(stdin_str); }, mystdin ) +  thread_create(lambda(Stdio.File f) { f->write(stdin_str); f->close(); }, mystdin )    });    mystdin = 0;    }