[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 159749] stdout/stderr output is out of sync
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2008-03-27 12:27:26
Message-ID: 20080327122726.25227.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=159749         




------- Additional Comments From ossi kde org  2008-03-27 13:27 -------
short version: this problem is unfixable.

long version:
stdout and stderr are two separate streams, without any timestamps attached to the \
data. therefore the interleaving on the reading end will always depend on the \
scheduling done by the kernel and can be considered random. on a quiet system, one \
can un-randomize it slightly by calling sched_yield() after each write. in konsole it \
works, because both channels are connected to the same stream - the pty. one could do \
that in kdevelop at the cost of not being able to discern stdout and stderr - \
optionally, maybe.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic