is pthread_join able to return something more than value?