Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

93
Views
C# .Net Framework Eliminación de tareas

Me preguntaba si hay algún beneficio al implementar la función de eliminación para Tareas. ¿Funcionará esto de manera diferente? ¿Obligará esto a que la memoria se limpie más rápido?

 Task updateTask = UpdateRemoteAsync() await updateTask;

contra

 using (Task updateTask = UpdateRemoteAsync()) { await updateTask; }
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

En la mayoría de los casos, no, cuando se deshace de una Task , se deshace del WaitHandle que asignan y, según Microsoft, desde .NET Framework 4.5, la funcionalidad async/await await, WaitAll y WaitAny no asignan ninguno a menos que lo necesite explícitamente. requieren IAsyncResult.AsyncWaitHandle .

Lectura adicional: MS Dev Blog .

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!