python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Are CancellationToken's bleeding memory
I have a larger system that sometimes needs to be shut down. To accomplish this, all my Dispatcher.Invoke() methods are invoked with one and the same CancellationToken. When the system needs to be s...
Marcin
Votes: 0
Answers: 0
How to correctly run and cancel a task in C#
I'm using C# in Visual Studio 2019. I seem not to be able to correctly run and cancel a task. I'm sure I am missing the point, but reading a lot of articles only creates more questions.
EDIT --> Fo...
Hans Billiet
Votes: 0
Answers: 1
A Task does not cancels with a CancellationTokenSource
I have a code. The goal of this is to cancel a task with a CancellationToken, I know that it possible to do with return; in loop, but I want to do it with CancellationToken. I tried to do it, but it d...
minary bigger
Votes: 0
Answers: 2
Being able to reuse same CancellationTokenSource - CancellationTokenSource.CreateLinkedTokenSource
I'm trying to figure out what CancellationTokenSource.CreateLinkedTokenSource actually does. I know it's a regular cancellation source that is also "linked" to an existing token.
The followi...
nop
Votes: 0
Answers: 1