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

  • SEARCH
  • Home
  • 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 7856533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T20:44:26+00:00 2026-06-02T20:44:26+00:00

At several places I have read, Each thread has its own set of CPU

  • 0

At several places I have read,

Each thread has its own set of CPU registers and its own stack

Here, I can understand about stack, it’s a data structure. But how thread can have its own CPU registers. They are fix in number and there are limitless number of threads are running in the system.

Regards

  • 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-02T20:44:27+00:00Added an answer on June 2, 2026 at 8:44 pm

    Yes, there are a fixed number of registers.

    When the OS switches from 1 thread to another, it copies the state of the finishing thread, including the current values of all the registers into its descriptor, then copies the values from the the descriptor of another thread into the registers.

    These descriptors are stored in RAM, although this is in part what Hyper Threading set out to fix, allowing 2 threads to be stored in a single CPU core at a time, but that is an entirely different discussion.

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

Sidebar

Related Questions

I have read in a several places (e.g. here ) that I can use
I have read in several places that it's possible to share the objects directory
I have seen it in several places where (int)someValue has been inaccurate and instead
I've read in several places that a C struct can safely be defined multiple
I have read about this from several places. I have tried the method found
I have a list of DrawObject[] . Each DrawObject has a Rectangle property. Here
I have read at several places that transport security is only hop to hop
I have an application that uses AJAX liberally. I have several places where a
I have seen several places in stackoverflow where folks have elegantly and easily turned
I have a ListView template that's being used in several places and I'd like

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.