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 6192961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:02:10+00:00 2026-05-24T03:02:10+00:00

I am writing an Eclipse RCP application in which multiple threads will update the

  • 0

I am writing an Eclipse RCP application in which multiple threads will update the user on progress each through its own progress bar in the GUI. I have been told that to allow each to individually update its own progress bar is to potentially cause a conflict over a shared resource (one of the parent the progress bars such as the Shell, I suppose). Is this true?

It was suggested to me that I created an intermediary class with synchronized methods that will act as a serializing funnel for update calls from the threads. Is this a solution? Can you offer a better solution?

  • 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-05-24T03:02:11+00:00Added an answer on May 24, 2026 at 3:02 am

    It is actually pretty easy. Whenever you need to update the progress bar from any of the threads, you enclose the update code in

    display.asyncExec(new Runnable() { .... });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a wizard for an Eclipse RCP application. After doing some processing on
I am writing an Eclipse RCP-based application and am trying to draw a rectangle
I am writing an eclipse plug-in which will operate in a mode in which
I'm writing an Eclipse RCP and I want to ask the user whether to
I'm writing an Eclipse plug-in in which the user can interact with another process
I'm writing an RCP application plug-in. I want to make a set of objects
I am writing an eclipse plugin which needs to be able to determine which
I'm writing a little Maven application in Eclipse. I store some property files and
I am writing a web application with Maven in the Eclipse IDE, and use
I am writing an Eclipse plugin using Xtext 2. I have provided my own

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.