add full thread support

Signed-off-by: Boqun Feng <boqun.feng@linux.vnet.ibm.com>