def _thread_done(gt, *args, **kwargs):
 kwargs['group'].thread_done(kwargs['thread'])

def _thread_done ( gt , * args , ** kwargs ) : kwargs [ 'group' ] . thread_done ( kwargs [ 'thread' ] )
callback function to be passed to greenthread .