Adding a pthread_mutex_lock() and ..._unlock() pair around the vprintf() makes it work correctly and it no longer drops core.
From reading the GNU docs, I had the impression that functions such asvprintf() were supposed to be thread safe. I have noticed that printf() also appears to not be thread-safe, but I haven't methodically checked all the related functions.
Please cc: any replies to me by e-mail as I am not subscribed to the list. Thank you in advance for any help that can be offered.
- John
_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! http://join.msn.click-url.com/go/onm00200362ave/direct/01/
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/