Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output is not updated from background thread #10864

Closed
roblourens opened this issue Jul 19, 2022 · 0 comments · Fixed by #10897
Closed

Output is not updated from background thread #10864

roblourens opened this issue Jul 19, 2022 · 0 comments · Fixed by #10897
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-output verified Verification succeeded
Milestone

Comments

@roblourens
Copy link
Member

roblourens commented Jul 19, 2022

From microsoft/vscode#150924

Run this cell:

import threading, time

def network_call():
    for i in range(20):
        print(i)
        time.sleep(1)
    
threading.Thread(target=network_call).start()

The 0 is printed, but no updates come after that

@roblourens roblourens added the bug Issue identified by VS Code Team member as probable bug label Jul 19, 2022
@github-actions github-actions bot added the triage-needed Issue needs to be triaged label Jul 19, 2022
@DonJayamanne DonJayamanne added this to the July 2022 milestone Jul 21, 2022
@connor4312 connor4312 added the verified Verification succeeded label Jul 29, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook-output verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants