Re: libthread and libtrivfs

2002-02-26 Thread James Morrison
--- Neal H Walfield <[EMAIL PROTECTED]> wrote: > Stubs are provided for libthreads. The stubs (which are linked in > if > an explicit request to link against libthreads is not added) should > be > used for single threaded applications using multithreaded libraries > (such as libtrivfs). Multith

Re: libthread and libtrivfs

2002-02-26 Thread Niels Möller
Neal H Walfield <[EMAIL PROTECTED]> writes: > Multithreaded applications cannot safely use the stubs; they > obviously need real locking. It would be nice to get better error reporting in this case. Perhaps there could a stub for the thread creation function that displays a message and aborts?

Re: libthread and libtrivfs

2002-02-25 Thread Neal H Walfield
Stubs are provided for libthreads. The stubs (which are linked in if an explicit request to link against libthreads is not added) should be used for single threaded applications using multithreaded libraries (such as libtrivfs). Multithreaded applications cannot safely use the stubs; they obviou

libthread and libtrivfs

2002-02-25 Thread James Morrison
Hi, I looked around a bit and libtrivfs is like against libthread, libports and other libraries, but multithreaded programs using trivfs still need to link agains libthread even though all the symbols are found. So, from a comment Roland made while I was looking at python, linking to libthread