on Solaris and Mac OS X. Do not produce a warning
message when it is given.
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16424
/* For convenience */
VG_N_THREADS = VG_(clo_max_threads);
+
+# if defined(VGO_solaris) || defined(VGO_darwin)
+ /* Sim hint no-nptl-pthread-stackcache should be ignored. */
+ VG_(clo_sim_hints) &= ~SimHint2S(SimHint_no_nptl_pthread_stackcache);
+# endif
}
/* The main processing for command line options. See comments above
</listitem>
<listitem>
<para><option>no-nptl-pthread-stackcache: </option>
- This hint is only relevant when running Valgrind on Linux.</para>
+ This hint is only relevant when running Valgrind on Linux;
+ it is ignored on Solaris and Mac OS X.</para>
<para>The GNU glibc pthread library
(<function>libpthread.so</function>), which is used by