Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between Windows.System.Threading.ThreadPool and System.Threading.ThreadPool?

The Windows Phone 8 SDK documentation doesn't describe a difference between Windows.System.Threading.ThreadPool and System.Threading.ThreadPool. Is there any difference between the two besides the obvious API difference? For example, do they use the same pool of threads? If there is an underlying difference, which should I use and when?

like image 790
Michael Nero Avatar asked Nov 13 '22 00:11

Michael Nero


1 Answers

Windows.System.Threading.ThreadPool is "safe" to use within a XAML based application, System.Threading.ThreadPool is the standard API available to all .net application types.

If you are developing a XAML app for WP8 or the windows app store, use the Windows.System version.

like image 107
Joe Caffeine Avatar answered Nov 15 '22 06:11

Joe Caffeine