hooks:
  add pthread_cond_timedwait_relative hooks
  manage mutex_lock with static initialization
  stream methods hooks