Printf and multiple threads
Posted: Mon May 12, 2008 9:21 am
Hi,
I have read somewhere, but I can't find it now, that if you are using printf from multiple threads, you can't use buffered comms - or something to this effect.
Can someone point me to the doc that discusses this, as I want to see what exactly you have to do. When experimenting earlier, I used a critical section around my debug call to make it work, but I may have got lucky.
Do I need to post on yahoo as well, or are most people keeping an eye on both groups?
Thanks,
Andy
I have read somewhere, but I can't find it now, that if you are using printf from multiple threads, you can't use buffered comms - or something to this effect.
Can someone point me to the doc that discusses this, as I want to see what exactly you have to do. When experimenting earlier, I used a critical section around my debug call to make it work, but I may have got lucky.
Do I need to post on yahoo as well, or are most people keeping an eye on both groups?
Thanks,
Andy