title: is pthread in glibc.so implemented by weak symbol to provide pthread stub functions?
body: <p>is <code>pthread</code> in <code>glibc.so</code> implemented by weak symbol to provide <code>pthread</code> stub functions?</p>
  
  <p>I know there is <code>pthread.so</code> to provide the functions similar with <code>pthread</code> in <code>glibc.so</code> somebody said <code>pthread</code> in <code>glibc</code> provide stub only and will be replace when explicit linking to <code>lpthread</code>.</p>
  
  <p>So my question is how to support it? using weak symbol or other tech?</p>
  
  <p>is <code>libssl</code> similar with <code>pthread</code> in <code>glibc</code>?</p>