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

How to use thread in Xamarin.Forms and How to Lock ?

$
0
0

For the UWP develop it can use 'Windows.System.Threading.ThreadPool.RunAsync' to create a thread, but it doesn't work on Xamarin.Forms.
I need a thread to do the network receive loop, so I also need the Lock, but I don't know how to use the Lock in Xamarin.Forms too.

I hope some one give me a demo code.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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