lkml.org 
[lkml]   [1999]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Possible race in fork()
Dick,

"Richard B. Johnson" wrote:
>
> Hi!
> On a system at home I had a consitant problem trying to set the
> terminal speed after a fork(). It was traced to the fact that
> a termios structure, set by the parent, was being corrupted during
> the fork().
>
> I have written a test program that shows this problem without using
> any termios stuff, just malloc()ed memory. The problem does not
> occur with a machine here at work (same CPUs, same CPU board), but
> 128Mb of memory. Both are dual pentium 400MHz SMP machines.
>

I just ran your program on my SMP PPro 150 with both 32mb and 128mb.
Runs fine in both cases.

-Tom
--
Tom Eastep
Compaq Computer Corporation
Enterprise Computing Group
Tandem Division
tom.eastep@compaq.combegin:vcard
n:Eastep;Tom
x-mozilla-html:TRUE
org:Compaq Computer Corporation;Tandem Division
adr:;;;;;;
version:2.1
email;internet:tom.eastep@compaq.com
x-mozilla-cpt:;-6528
fn:Tom Eastep
end:vcard
\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.844 / U:1.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site