Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Thread Over Task?

$
0
0

So i have recently been working on optimizing an app im developing for work, however i have run into a question i havnt found a satisfactory answer for:

is it ok to use thread rather than task.run()?

ive only had to use e.g.: new thread(new threadstart(()=>{ //blah })); a couple of times, it just worked better and yielded a faster load time.

only reason i ask is everyone says use task.run(), and i tried, but thread just provided a much smoother result.

Thank you for your time!


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>