Skip to content

Mixing Tasks and Threads #926

Open
Open
@softlion

Description

@softlion

This docs mix tasks with threads. A task is not a thread ! 2 different tasks can run in the same thread. It's the TaskScheduler job to determines which Task runs on which thread. Thus this documentation is very confusing. SemaphoreSlim does not lock access to a thread. It locks access to a resource. Which can be of any kind!


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions