Francois Gouget fgouget@free.fr writes:
Could we solve this problem by moving the pthread stuff to a libwine_pthread.so library. Then one could set LD_PRELOAD=libwine_pthread.so to have Wine's pthread implementation.
Would that make it possible to use Wine stuff from a regular application?
No, because the Wine pthreads routines use ntdll, and so they need the Wine environment to be initialized properly.