pthread attr

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>