Added a generic signaling module for pthread (simplified API for setting / waiting for a signal condition).