Add support for named threads (atm linux only)