[Bordeaux-threads-devel] patch for thread-wait