RT-Thread/rt-thread — pull request #266 by grissiom (2014-04-16 03:00:49+00:00)
Title: [mempool] reset the thread->error before suspending thread

Time out result and other errors is recorded in thread->error. Dirty
error will screw up the error handling code after the thread has been
wake up.

The previous PR is wrong.