<i>High Tcl latencies with fork() in larger systems</i> status still Open with 3 other changes
by
.
D 2023-07-04T12:12:03.845
J icomment I\shave\sfixed\slocally\sthe\serrors\sdue\sto\sdifferent\serror\smessages\sunder\smacOS,\sexcept\sexec-17.1,\swhich\sis\sdifferent.\sThe\sproblem\swith\sexec-9.1\setc.\swas\sthat\sthe\sC\scode\srelies\son\sthe\sfact\sthat\sthe\sglobal\svariable\s"errno"\sis\skept\suntil\sthe\serror\smessage,\swhich\sis\snot\sthe\scase\sunder\smacOS.\s\r\n\r\nFirst,\sI\shave\sto\sunderstand,\swhat\sexec-17.1\stests\sin\sdetail\s("inheriting\sstandard\sI/O")\sand\swhy\sthis\sis\sa\sproblem.\sThe\stest\schains\stwo\sexec\scommands\s\r\n\r\n\tcatch\s{exec\s$exe\s$echo\sfoobar\s&}\r\n\texec\s$exe\s$sleep\s2\r\n\r\nand\sseems\sto\sassume\sthat\sthe\soutput\sfrom\sthe\sfirst\s"exec"\sis\spreserved\sby\sthe\ssecond\s"exec".
J login gustafn3
J mimetype text/plain
K c54e4a1aeb999fe8d878eae790243739ef05517a
U gustafn3
Z 5edea42a7272eb728fdefb64a9155c73