Thread Fork und Output Flush (4 answers)
Opened by ms at 2009-04-04 20:29

ms
 2009-04-05 00:33
#120297 #120297
User since
2009-04-04
3 Artikel
BenutzerIn
[default_avatar]
Stimmt schon, dennoch hat mich der in 99:1 Faellen identisch aussehende Output auf MSYS nachdenklich gestimmt (habe jetzt mal das Skript mehrfach gestartet, den Output geloggt und diffs bestimmt - tatsaechlich wird in beiden Shells teilweise unterschiedlich ausgegeben, konform mit der asynchronen Steuerung)

Ausserdem muss unter Win32 auch folgendes beachtet werden (ich hatte mich gewundert, warum in taskman.exe und im 'ps -ef' unter MSYS nur ein Perl Prozess sichtbar ist):

Quote
On some platforms such as Windows where the fork() system call is not available, Perl can be built to emulate fork() at the interpreter level. While the emulation is designed to be as compatible as possible with the real fork() at the the level of the Perl program, there are certain important differences that stem from the fact that all the pseudo child ``processes'' created this way live in the same real process as far as the operating system is concerned.

http://www.xav.com/perl/lib/Pod/perlfork.html

View full thread Fork und Output Flush