Changes for QNX: there is no thread support, and the previous