gearman-go/worker
Kyle Vigen abfc23f301 Ability to exit work loop gracefully
This change adds the ability to call Shutdown on a gearman-go worker which causes the
worker to wait for all currently active jobs to finish and then close the connection.

It does this by keeping tracking of the number of currently active transactions, disallowing
new job creation, and using a WaitGroup to wait for all active jobs to finish.
2014-06-13 17:01:15 -07:00
..
agent.go type assertion with *net.OpError 2014-03-03 14:45:35 +08:00
common.go fixed the worker's testing cases 2013-12-26 15:55:16 +08:00
error.go Merge branch 'master' into 0.2-dev 2014-03-07 17:33:16 +08:00
example_test.go fixed the worker's testing cases 2013-12-26 15:55:16 +08:00
func.go Something should not display in documents, disabled. 2013-12-26 12:32:27 +08:00
inpack_test.go go fmt & better examples 2014-01-09 17:58:02 +08:00
inpack.go Use %v instead of %V, which is not a valid Printf verb 2014-03-07 10:21:45 +01:00
job.go Bring back ability to get function name 2014-01-03 15:58:18 -05:00
outpack_test.go go fmt & better examples 2014-01-09 17:58:02 +08:00
outpack.go Something should not display in documents, disabled. 2013-12-26 12:32:27 +08:00
worker_test.go Ability to exit work loop gracefully 2014-06-13 17:01:15 -07:00
worker.go Ability to exit work loop gracefully 2014-06-13 17:01:15 -07:00