Re: Strace issue with threading

2013-07-12 Thread Denys Vlasenko
On 07/12/2013 12:00 PM, giuseppe pes wrote: > Hi, I have found a strange behavior using strace with an application that > spawns threads. The output is printed two times and I cannot understand why. > > Here it is the source code of the application : > > > #include > #include >

Strace issue with threading

2013-07-12 Thread giuseppe pes
Hi, I have found a strange behavior using strace with an application that spawns threads. The output is printed two times and I cannot understand why. Here it is the source code of the application : > > #include > #include > #include > #include > #include > #include > #include > #include