possible fix for:
possible fix for:

https://issues.apache.org/jira/browse/AMQCPP-294
https://issues.apache.org/jira/browse/AMQCPP-298

Incorrect use of pthread_detach causes segfault on OSX

git-svn-id: 0fb8a5a922afe2085ae9a967a0cf0864fe09ecff@1064906 13f79535-47bb-0310-9956-ffa450edef68

apache/activemq-cpp,apache/activemq-cpp,apache/activemq-cpp,apache/activemq-cpp