add the goroutine pool and post function