Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Equivalent of NSOperationQueue in .NET

Tags:

c#

.net

macos

ios

Just wondering if anyone can tell me what the equivalent of NSOperationQueue (from MacOS/iOS) is in c#/.Net.

For those unfamiliar with it, it is a queue of threads. You can set priorities and also concurrent actions and it will work through the queue running how ever many threads you set at a time. Once the thread is complete a new one is loaded.

Thanks, Ben

like image 683
Ben Trengrove Avatar asked Feb 25 '23 23:02

Ben Trengrove


1 Answers

System.Threading.ThreadPool is similar in function.

http://msdn.microsoft.com/en-us/library/system.threading.threadpool.aspx

like image 62
TomSwift Avatar answered Feb 27 '23 13:02

TomSwift