Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities includingStack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Loading…
Code Review

Questions tagged [task-parallel-library]

Ask Question

The Task Parallel Library is part of .NET 4 and .NET 4.5. It is a set of APIs to enable developers to program asynchronous applications.

151 questions
Filter by
Sorted by
Tagged with
6votes
1answer
376views

.NET 8 finally introduced a time abstraction that can be used to fake advance a clock while testing certain components.https://learn.microsoft.com/en-us/dotnet/api/system.timeprovider?view=net-9.0...
1vote
1answer
415views

This is a request-response model over sockets/websockets (like HTTP) where you technically match request id to response id and return the response. In addition to that, there is timeout in case that ...
nop's user avatar
  • 819
4votes
1answer
192views

This is a tiny class that creates backup copies of a file so these can be diff'ed to spot the changes compared to last run; used when generating code and so far has proved to be very helpful....
aybe's user avatar
  • 612
3votes
2answers
2kviews

I've written a lot of(await SomeTask).AsList(); in my project, and it's kind of annoying to keep wrapping it.To fix this I've written a little extension method on ...
1vote
1answer
653views

I am enjoying making various programs with C++.This is my first code review request. And I hope I can get some insights or might have good advice to make my code better.I make a task class using C++...
3votes
0answers
8kviews

I'm having an implementation usingSerialPort in C# using Visual Studio 2019. I'm using it in a Windows Application, using .NET Framework 4.7.2.When I open and ...
2votes
0answers
606views

I'm using the SerialPort in C# using Visual Studio 2019.My SerialPort has 2 "pump" tasks, which are private members of my SerialPort, and are started during an Initialization method:...
Hans Billiet's user avatar
1vote
1answer
380views

Anybody mind providing an opinion on whether or not this is a good or bad example of Task Cancellation and why. I have my own opinion and I've been told that its baseless, just trying to find out who ...
1vote
1answer
716views
3votes
3answers
1kviews

Example of use:var users = await usernames.SelectTaskResults(GetUserDetails, 4);whereGetUserDetails(string username) is a ...
1vote
1answer
561views

This service takes in a report request object that can contain multiple reports that need to be rendered. This code works but I'm not sure if I've implemented anything wrong. Note the ...
4votes
1answer
101views

Here is the sender and handler interfaces:...
Dmitry Nogin's user avatar
5votes
1answer
760views

I have come across a situation where I feel running some code in parallel will greatly improve performance, but I am concerned about the implementation and am looking for some confirmation. Take the ...
2votes
1answer
636views

I've got a method,CheckForValue(), that uses named pipes to send a message to another process running locally, and then receive a message from that process, ...
1vote
1answer
517views

I have a potentially long running operation and I want to trigger some action if takes too long time. Also I want to reuse this logic. Operation to check:...
Maxim Tkachenko's user avatar

153050per page
1
2345
11

Hot Network Questions

more hot questions
Newest task-parallel-library questions feed

[8]ページ先頭

©2009-2025 Movatter.jp