def set_context_id_callback(callback):
return _yappi.set_context_id_callback(callback)<EOL>
Use a number other than thread_id to determine the current context.

The callback must take no arguments and return an integer. For example:

>>> import greenlet, yappi
>>> yappi.set_context_id_callback(lambda: id(greenlet.getcurrent()))