全部博文(11)
分类: LINUX
2008-04-13 21:03:47
Note: You can't mix NSPR's user-level threads with the native pthreads. These two thread implementations are not compatible. You have to use the pthreads version of NSPR.
Mozilla, glib, and NSPR all do their own thread wrangling, so they must use compatible ways of interacting with threads. There are only a few ways of building all the libraries so that they are compatible:
configure --with-threads=posix
gmake MOZILLA_CLIENT=1 USE_PTHREADS=1
configure --with-pthreads
configure --with-threads=none
gmake MOZILLA_CLIENT=1
(MOZILLA_CLIENT=1 makes user-level threads the default)configure
(default is to use
user-level threads)