Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

Ability to have custom initialization for each worker thread #8

Closed
@dovahcrow

Description

@dovahcrow

tokio::runtime provides a builder which let users run initialization code for each worker thread. Could this be also possible in runtime, say, having an attribute proc macro runtime::initializer which can let us designate the function to be ran for worker thread initialization?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions