Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8576869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:01:34+00:00 2026-06-11T20:01:34+00:00

When breaking an idling Windows Forms app, a WPF app or a Windows Store

  • 0

When breaking an idling Windows Forms app, a WPF app or a Windows Store app into Visual Studio (Debug->Break All) the Threads window shows that it is running on the Main Thread (= UI thread right?). When debugging a click event handler the two first application are still executing on the Main Thread while the Windows Store app is executing on a Worker Thread. Is this thread in fact the UI thread and if so, why is it labeled Worker Thread? And why is there a difference between the two first applications and the Windows Store app, is it to do with ‘everyhing async’ in Windows 8?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:01:36+00:00Added an answer on June 11, 2026 at 8:01 pm

    Yes, Windows Store apps operate very differently from regular desktop apps. Under the hood they are out-of-process COM servers, a very different activation model from regular Windows EXEs. They are started by the RPCSS service, the startup thread calls RoInitialize() to make itself an MTA thread. WinRT plumbing then creates an STA thread that becomes the home for the UI gadgets and dispatcher loop. Which looks like a worker thread in the debugger.

    All of this is very poorly documented, somehow the CLR shoe-horns itself into this activation model. Details that are hidden in the language project built into the CLR and utterly undocumented. You are not supposed to worry about it. Which seems to work, I’ve seen very few questions from programmers fighting the COM threading model.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My Django app started breaking all of a sudden and I cannot understand why.
I am highlighting all occurences of non-breaking space in my WPF Richtextbox. Once i
Alright so this problem has been breaking my brain all day today. The Problem:
I've been breaking apart a large VS C# project into smaller projects, and while
Is XSLT a good solution for breaking an XML document into sets by element
I find myself breaking this pattern all the time. YAGNI - You Ain't Gonna
The idea behind breaking up a download into multiple segments with different ranges is
I am breaking up a large monolothic python file into six separate submodules. Originally
I previously tried breaking this problem down into smaller, simpler problems here and here
I have been breaking my head over this. I have a ndk c++ app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.