Click here to Skip to main content
15,851,915 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cron mechanism Pin
OriginalGriff4-Nov-21 1:54
mveOriginalGriff4-Nov-21 1:54 
GeneralRe: Cron mechanism Pin
johnpierwszy4-Nov-21 2:09
johnpierwszy4-Nov-21 2:09 
GeneralRe: Cron mechanism Pin
OriginalGriff4-Nov-21 2:59
mveOriginalGriff4-Nov-21 2:59 
GeneralRe: Cron mechanism Pin
johnpierwszy4-Nov-21 7:16
johnpierwszy4-Nov-21 7:16 
Questionmissing a meow ? observations of Net#5 C#9 'record' structures in a VS 2019 WinForm project Pin
BillWoodruff3-Nov-21 12:21
professionalBillWoodruff3-Nov-21 12:21 
QuestionC# regarding running multiple task Pin
Mou_kol1-Nov-21 9:15
Mou_kol1-Nov-21 9:15 
AnswerRe: C# regarding running multiple task Pin
OriginalGriff1-Nov-21 23:49
mveOriginalGriff1-Nov-21 23:49 
AnswerRe: C# regarding running multiple task Pin
lmoelleb1-Nov-21 23:53
lmoelleb1-Nov-21 23:53 
Task.Run will execute the contained code on the ThreadPool. The TreadPool will allow a number of tasks to run in parallel. So as long as you have not reached this limit and there is a CPU core available, they will execute in parallel.

If you have reached the limit, they might run one by one - and they might delay execution until a thread becomes available. This is typically not something you need to think about, but worth knowing if you have long running operations or if you are queueing a lot of operations on the thread pool - for example looping over a collection and running something for each item. If you need to do the latter, look into "Task Parallel Library"[^]
AnswerRe: C# regarding running multiple task Pin
Gerry Schmitz2-Nov-21 8:53
mveGerry Schmitz2-Nov-21 8:53 
QuestionC# reading multiple files by multiple thread issue Pin
Mou_kol1-Nov-21 9:13
Mou_kol1-Nov-21 9:13 
QuestionRe: C# reading multiple files by multiple thread issue Pin
Member 153296131-Nov-21 9:29
Member 153296131-Nov-21 9:29 
AnswerRe: C# reading multiple files by multiple thread issue Pin
Randor 1-Nov-21 16:41
professional Randor 1-Nov-21 16:41 
AnswerRe: C# reading multiple files by multiple thread issue Pin
Gerry Schmitz2-Nov-21 8:53
mveGerry Schmitz2-Nov-21 8:53 
AnswerRe: C# reading multiple files by multiple thread issue Pin
primem0ver4-Nov-21 6:47
primem0ver4-Nov-21 6:47 
QuestionThread Label Updating Pin
Member 1540852926-Oct-21 9:15
Member 1540852926-Oct-21 9:15 
AnswerRe: Thread Label Updating Pin
Gerry Schmitz26-Oct-21 9:36
mveGerry Schmitz26-Oct-21 9:36 
GeneralRe: Thread Label Updating Pin
Member 1540852926-Oct-21 10:17
Member 1540852926-Oct-21 10:17 
AnswerRe: Thread Label Updating Pin
OriginalGriff26-Oct-21 9:59
mveOriginalGriff26-Oct-21 9:59 
GeneralRe: Thread Label Updating Pin
Member 1540852926-Oct-21 10:15
Member 1540852926-Oct-21 10:15 
GeneralRe: Thread Label Updating Pin
OriginalGriff26-Oct-21 23:17
mveOriginalGriff26-Oct-21 23:17 
GeneralRe: Thread Label Updating Pin
Gerry Schmitz28-Oct-21 7:43
mveGerry Schmitz28-Oct-21 7:43 
GeneralRe: Thread Label Updating Pin
OriginalGriff28-Oct-21 21:17
mveOriginalGriff28-Oct-21 21:17 
AnswerRe: Thread Label Updating Pin
BillWoodruff26-Oct-21 17:55
professionalBillWoodruff26-Oct-21 17:55 
Question.NET with problems Pin
Ismael Oliveira 202123-Oct-21 10:48
Ismael Oliveira 202123-Oct-21 10:48 
AnswerRe: .NET with problems Pin
Dave Kreskowiak23-Oct-21 13:15
mveDave Kreskowiak23-Oct-21 13:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.