Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
This repository was archived by the owner on Nov 23, 2017. It is now read-only.

Add notion of context_id to event loop #165

@GoogleCodeExporter

Description

@GoogleCodeExporter
It's crucial to have an analogue of threadlocal object for coroutines. Tools 
like newrelic use it to provide deep performance analysis, web developers need 
to know details about the current request being served etc.

The proposed solution to this problem is to add an API to set a context_id when 
asyncio.Task is created. This context_id will then be automatically assigned to 
all callbacks, futures and tasks the original task has given birth to.

Original issue reported on code.google.com by yseliva...@gmail.com on 15 Apr 2014 at 7:50

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions