Hi! > LTP seems primarily intended to be built and run on the same machine, > and thus uses autotools / autoconf to determine the features of the host > machine's environment prior to compilation. However, when distributing > precompiled binaries, or when building in a cross-compilation environment, > it is better not to disable features based on the compile-time environment. > > This patch removes compile-time dependencies on priority-inheriting mutexes > and allows the code to attempt initialization of PI mutexes even > if the runtime environment lacks that feature... in which case > the associated test(s) should fail. > > Without this patch, init_pi_mutex() may be compiled as an empty function, > allowing subsequent operations to be attempted on an un-inititalized mutex. > Likewise, testpi-3 may fail to initialize a mutex before starting pthreads > which attempt to use the mutex.
As far as I can see the configure check tests if PTHREAD_PRIO_INHERIT is defined in system headers. So if you just remove the ifdefs the compilation will fail and if that is not the case, the check is broken. -- Cyril Hrubis chru...@suse.cz ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list