Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 11:10:58 -0600
From:      "Richard Seaman, Jr." <dick@tar.com>
To:        Steffen Merkel <d_f0rce@gmx.de>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Kernel threads
Message-ID:  <19991228111058.B75539@tar.com>
In-Reply-To: <19991228083008.A75539@tar.com>; from dick@tar.com on Tue, Dec 28, 1999 at 08:30:08AM -0600
References:  <005101bf508e$1ab48700$0201a8c0@blade> <Pine.SOL.4.05.9912270929080.24373-100000@luna.lyris.com> <19991227120931.H5975@tar.com> <001c01bf5118$1f4936a0$0201a8c0@blade> <19991228083008.A75539@tar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 28, 1999 at 08:30:08AM -0600, Richard Seaman, Jr. wrote:
> On Tue, Dec 28, 1999 at 10:44:19AM +0100, Steffen Merkel wrote:
> 
> > Sorry, but I'm learning C for only some weeks now. Why does the main
> > thread complete if I insert a while(1); ? I thougt that this while statement
> > would get executed forever (until I press ^C).
> 
> You're right, of course.  My brain was not fully in gear when I wrote that.

BTW, I compiled your program with the while(1) included and it runs fine
here.

-- 
Richard Seaman, Jr.           email: dick@tar.com
5182 N. Maple Lane            phone: 262-367-5450
Chenequa WI 53058             fax:   262-367-5852


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991228111058.B75539>