thread-safe Gearman client

5a061c291ed4ede147edf24bd6165fd43c98e794

What I really want is an enum :(