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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:06:34+00:00 2026-05-25T16:06:34+00:00

When i lunch a function on my .net application, the app seems to be

  • 0

When i lunch a function on my .net application, the app seems to be “blocked”. So i ask you: how can limit cpu workload for a particular method ?
The only way is the Application.DoEvents ?
And: what if i use an third party dll that for the same reason (big elaboration) seems to block (not responding) my app ?

EDIT: maybe threading is the answer, but, now, i’ve another question: is it possible to ‘limit’ cpu usage to a thread ?

  • 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-25T16:06:35+00:00Added an answer on May 25, 2026 at 4:06 pm

    How to ‘avoid’ application not responding when big elaboration are made?

    Run whatever is causing the blocking on a different thread than the main thread.

    how can limit cpu workload for a particular method ?

    You can’t limit it for a particular method. Only for a particular thread. And this will not solve the blocking issue.

    maybe threading is the answer

    No, not maybe. It is the answer.

    but, now, i’ve another question: is it possible to ‘limit’ cpu usage to a thread ?

    Well, you could try setting Thread.Priority. Note that the OS does not have to honor the priority that you set (thus, try). Additionally, this just changes the priority for scheduling the thread to execute. If there are no other threads that need CPU time, then of course your thread will still get scheduled on the CPU.

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

Sidebar

Related Questions

Given an application: Ext.application({ name: 'APP', appFolder: 'app', funcA: function() { console.log('called funcA'); },
I am using SignalR in an ASP.Net Web Application project and am having issues.
When I start my .net console application from a bat file e.g. start myapp.exe
I have an application in Asp.Net and at a click of a button it
Is it possible to launch a new window in JavaScript using the window.Open function,
This question is a result of a lunch-time conversation with a co-worker...I've read questions
I was discussing neural networks (NN) with a friend over lunch the other day
I'm trying to bash together a (very) rough MP3 player during my lunch hour,
I have a function var url = MyAvailability.aspx?mode=get; $.get(url, function(data) { alert(data); }); that
Using setTimeout() it is possible to launch a function at a specified time: setTimeout(function,

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.