Dan Kegel dank@kegel.com writes:
I wonder if it's time to consider what it would take to truly and completely integrate winethreads and glibc threads, to allow unfettered use of linux shared libraries from winelib programs.
That's basically what the pthreads routines in Wine are for, they provide wrappers so that pthreads calls in linux shared libraries do the right thing. We'll probably need a somewhat different implementation for the NPTL version but the idea is the same. Not every pthreads function is implemented at the moment but it wouldn't be a big deal to add the missing ones.