thread ok

Signed-off-by: degrigis <fbi.gritti@gmail.com>