Revised test case (was Re: Who understands this code?)

Donald Smith dss-lfs at cfl.rr.com
Sat Mar 15 07:51:28 PST 2003


Matthias Benkmann wrote:
> On Sat, 15 Mar 2003 00:09:10 +0100 Andreas <iobuf at gmx.de> wrote:
> 
> 
>>I tried it and it worked as you said. But it is really strange that when
>>I add"printf(" ");" somewhere before the two anonmap calls it works even
>>with your ld.so.cache.
> 
> 
> That is actually not strange. If it is indeed a race condition as detailed
> by Donald Smith then I would expect behaviour like this. The additional
> printf() changes the timing.
> 
> MSB
> 

It's multithreading fun?

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list