linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric <eric@cisu.net>
To: linux-c-programming@vger.kernel.org
Subject: Re: Multithreaded /sbin.init? Is it possible?
Date: Sun, 14 Sep 2003 13:59:50 -0500	[thread overview]
Message-ID: <200309141359.50596.eric@cisu.net> (raw)
In-Reply-To: <20030914182509.GZ12661@lug-owl.de>

> However, I've done a little test with my laptop (P2-266, 128MB RAM).
> Groupwise parallelized, taking rc2 (not rcS) takes 5sec, vs. 20sec for
> the non-parallelized traversal. But screen output now is even less
> readable than before (Ever seen HP-UX starting?)...

	I just had tought after sending my previous e-mail. Would it be possible to 
capture the output of the programs being run? Like each thread would capture 
the output of the program it runs without being printed to the screen and 
then when the thread terminates the main program writes it to the screen. 
That would make the entire message of the program being run atomic and thus 
eliminate odd echo's out of place and done messages conflicting with others. 
Although the messages from each group might be printed in an undefined order, 
you would still get the complete message.
	

----------------------
Eric Bambach   
Eric (at) CISU (dot) net 
----------------------

  parent reply	other threads:[~2003-09-14 18:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-14 17:40 Multithreaded /sbin.init? Is it possible? Eric
2003-09-14 18:25 ` Jan-Benedict Glaw
2003-09-14 18:59   ` Eric
2003-09-14 19:37     ` Jan-Benedict Glaw
2003-09-14 18:59   ` Eric [this message]
2003-09-14 19:45     ` Jan-Benedict Glaw
2003-09-15 10:29 ` szonyi calin
2003-09-15 16:49 ` Tabris
2003-09-23  6:12   ` Nico Schottelius
2003-09-15 18:13 ` [resend] " Tabris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200309141359.50596.eric@cisu.net \
    --to=eric@cisu.net \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).