Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

What conditions will cause the loop to wake up from uv_async_send? #194

Description

@morrisonlevi

I have a multi-threaded application, where one thread runs an event loop. If another thread calls uv_async_send, under what conditions will event loop thread wake up and trigger the callback?

Asking because I will need to block until the callback has actually executed, and need to know what sort of guarantees there are on what will wake it up. I could not find any guarantees in the docs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions