return EAGAIN on pthread resource failure, not -1. fixes unknown error problem on resource exception.
return EAGAIN on pthread resource failure, not -1. fixes unknown error problem on resource exception.

dankamongmen/libblossom