google / google/CodeCity

Distinguish between globally-blocking and thread-blocking async functions

Open
#393 0 comments 0 reactions 0 assignees View on GitHub
enhancement server
Dominant language
JavaScript
Stars
198
Forks
38
PR merge metrics
No merged PRs in 30d

Description

In the process of implementing threads, async native functions changed from blocking the whole interpreter to blocking only their own thread.

Tthe latter behaviour is probably the desired one in almost all cases, but:

* It should be possible to implement async native functions that do not allow other threads to run in the mean time, and
* All existing async native functions should be reviewed to ensure that they are in the correct category.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.