patch from Gary Pennington fixing a possible problem at initialization

* threads.c: patch from Gary Pennington fixing a possible
  problem at initialization time.
Daniel
2 files changed