Messages in this thread | | | Date | Mon, 25 Jan 1999 21:11:49 +0000 | From | Tom Eastep <> | Subject | Re: 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
| |