How to stop a script that is slowing naviugation?

I am getting the message
A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
Script: http://mail.yimg.com/zz/combo?nq/comms/shared/src/contacts-api/api-config_3323.js&nq/comms/shared/src/contacts-api/api-cache_3323.js&nq/comms/shared/src/contacts-api/urigenerator_3323.js&nq/comms/shared/src/contacts-api/api-adapter_3323.js&nq/comms/shared/src/contacts-api/api_3323.js&nq/comms/shared/src/contacts-api/api-utils_3323.js:1

You can tell a Thread to yield - That is, cause the currently executing thread object to temporarily pause and allow other threads to execute.

Similar Messages

  • How to stop a process (that is executing)

    Hi all
    my question is How to stop a process that is executing ?
    some other languages has a function called yield() in java how I can do it.
    thanks

    You can tell a Thread to yield - That is, cause the currently executing thread object to temporarily pause and allow other threads to execute.

  • I need to know how to stop a notification that keeps coming up when playing a spades game, that keeps telling me to go to the game center. I even shut off the notifications in the settings, this is an anoying problem

    I need to know how to stop a notification that keeps coming up when playing a spades game, that keeps telling me to go to the game center. I even shut off the notifications in the settings, this is an anoying problem

    I'm pretty sure this is an Apple thing and you can't do anything about it. To get rid of the notification just do as it asks then try to forget about it.

  • How to stop a app that is not responding. It is always loading

    How to stop and delete an app that is no longer responding. It is always loading

    If it's a large app and you've got a relatively slow connection that it might take a while to finish loading.
    Does tapping the icon change it's 'state' ? You could try a reset and see if it resumes loading after the iPad has restarted : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    Or you could try downloading it on your computer's iTunes and then sync or drag/drop it across to the iPad device.

  • How to Step through Scripts that are sent to other Adobe Apps?

    A newbie question. In the ExtendScript Toolkit, I'm examining a script that uses BridgeTalk to send a script to Photoshop. I understand how to step through and examine the variables and functions that execute within the Bridge application. But how can I step through and examine the variables that are sent to the Photoshop application? The script executes without breaking as soon as the BridgeTalk script is sent.
    Thanks
    Help Getting Started with Bridge Scripting 

    I not sure that you can… What you may be able to do in some cases… is comment out the sending of the bridgetalk message and write the script constructed string message body to the toolkit console… That you might be able to cut and paste to a new script window and run with #target photoshop your other option would be to add lines $.writeln( variable ); at the relevant places in the message body construction…

  • How to stop a page that is partially downloaded?

    Often I want to stop a page in mid-downloaded and keep it for a while. I don't want to kill it. In Firefox 5 I can't see how to do this.

    Firefox 4.0 / 5.0 have a combined Reload, Stop, & Go button that appears at the right end of the location bar. Only one function is ever active at any one time, so combining them save UI space was a good idea. '''When a page is loading, it is a "Stop" button''', when it finished loading, it turns into a "Reload" button, and when you start to type something into the Location bar it turns into a "Go" button.
    To restore the Firefox 3 appearance you can use these steps:
    * Open the "View > Toolbars > '''Customize'''" window or right-click a vacant area on a Toolbar, ''except fot the Bookmarks Toolbar''.
    * Then drag'n'drop the Reload and Stop buttons to their previous position at the left side of the Location bar.
    # Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
    # Or "Reload - Stop" then put a flexible space in between the two to prevent the buttons from combining.
    # Set the order to "Stop - Reload" to separate them and get two distinct buttons.

  • How to stop a threads that makes I/O calls ?

    Hi,
    I've a business method that calls a Stored Procedure and makes lots of calculations. This method works inside its own thread, because I do not want to stop the GUI from accepting user actions.
    My problem is : this method may take from 5 minutes to 1 hour to process, depending on the size of the input. Sometimes, for any reason at all, the user may want to stop this execution (pressing a button on the GUI). How can I safely stop the thread ?
    I know I should not use stop() and suspend() because they are deprecated. And I do not use loops (remember it calls only a StoredProcedure that makes all processing), so I cannot use a variable nor interrupt(), because they do not work.
    Do you know any other way to stop this thread's execution ? By the way destroy() is not implemented.
    Thanks and regards.
    Bruno

    Are you saying that the 5 minutes to an hour is all spent in the stored procedure?
    If so the only real solution is to kill the statement - I'm not sure how the DB will handle that, but it will certainly free up your cycles.
    To do that without violating encapsulation, you just need to keep a reference to an object that knows something about the DB connection - you don't have to actually pass around the JDBC objects.
    Consider an object like this:
    public class DoLongProcedure {
       private Statement dbStatement;
       public double doLongCalculation() {
          dbStatement.execute(...);
          // etc
       public void interruptCalculation() {
          dbStatement.close();
    }You create an instance of this object and call its doLongCalculation() method to start everything. You have a reference to this object somewhere, because you are waiting for a response. When the user wants to cancel the process you just call the interruptCalculation() method.
    You have not violated your separation of functionality - if you find a new way to stop the process without killing the statement later, you just reimplement that method.

  • I inadvertently speeded up the dialog of a book I am listening to and don't know how to reach the screen that says slower;normal; faster

    I inadvertently speeded up the dialog of a book I am listening to on my nano by selecting faster when I turned it off.  Now I can't return it to normal as I don't know how to get those selections up again: slower, normal, faster.  Can you help me?

    See your iPod's user guide for assistance.
    http://manuals.info.apple.com/en_US/iPod_nano_6thgen_User_Guide.pdf
    B-rock

  • How to stop script that is slowing system?

    System slows to a crawl. Use program to fix register. System speeds up.
    Short time later it repeats. Sometimes get notice, "do you want to continue script?"

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).<br />
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]<br />
    <br />
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.<br />
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.<br />
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")<br />

  • How to stop version check that happens in the background after timeout?

    Hi all,
    I have a problem that seriously makes my swing application (installed using webstart) very slow for some time.
    Steps to reproduce my problem :
    1. Deploy the jars of application in the web server running on Machine A( either in LAN or running on public IP).
    2. Download the application on Machine B using the link.
    3. Shutdown Machine A.
    4. Now try to start the application on Machine B. The starting of the application has become very slow.
    After some time(long enough) the application is started. Even now, the application is slow for first few minutes.
    Below is the part of jnlp that we used.:
    +<?xml version="1.0" encoding="utf-8"?>+
    +<jnlp spec="1.0" codebase="$$codebase" href="LaunchMyApplication.jnlp">+
    +<information>+
    +<title>My Application</title>+
    +<vendor>XYZ</vendor>+
    +<description kind="short">XXXXXXXX</description>+
    +<icon href="../../../../images/myapp_splash2009.gif" kind="splash"/>+
    +<icon href="../../../../images/myapp_logo.jpg"/>+
    +<offline-allowed/>+
    +</information>+
    +<security>+
    +<all-permissions/>+
    +</security>+
    +<resources>+
    +<property name="abc.type" value="client"/>+
    +<j2se version="1.5" initial-heap-size="48m" max-heap-size="256m"/>+
    +     +
    +     <!-- jar details -->+
    +     ...........+
    +     ..........+
    +     +
    +</resources>     +
    +<application-desc main-class="com.abc.xyz.Login">+
    +     <argument>..........</argument>+
    +</application-desc>+
    +</jnlp>+
    My assumsion is
    When I start my application, version checking will happen. But the cache server system(machine A) is not available. Due to this initial slowdown has occurred.
    After the timeout has occured, my application has started. Since the version checking continuous in the background, my application is again slow.(Even when my application server and database system are in the same LAN of my client machine).
    This slowdown is certainly not desirable.
    This slowness isn't there when there Machine A( in which my webserver is installed) is running and my webserver (Tomcat 5.0 in my case) is not started.
    Is my assumsion is correct?
    If correct, how do I stop version checking process that happens in the background after initial timeout?
    I think update check and policy attribute may not help me as I wanted to stop this background version check altogether. Also, my java sersion is 1.5_0_14.
    Please help me out in this.
    Thanks in advance..,
    Chakri.

    Talk to Apple here...
    http://www.apple.com/feedback/

  • How to stop auto log out during slow download from App store?

    How do I change my settings on my MacBook Pro using OS X 10.6.8 so that I can download OS X Lion on a very slow internet connection. Periodically, the operating system is logging out automatically during the download and I have to restart the download.

    To the best of my knowledge, there is no way to prevent the automatic downloading of the SD version when you buy an HD show.
    You can, if you wish, suggest that the ability to prevent the SD version from downloading through the iTunes feedback page. But since the SD version is needed for use on iPods and there at least at present is no mechanism for someone to download the SD version at a later time should they decide they need it, Apple may just continue to force the downloading of both versions. If they get enough feedback on the issue, though, they may figure something out.
    Regards.

  • How to stop a request that is being imported

    hi,
    I have imported a request from import queue, it is taking hell lot of time, and not yet completed.
    I want to stop that request from being imported.
    How can i do that.
    Suggest a suitable answer.
    pradeep

    Go to STMS and there menu : "Goto", "Import Monitor". in  Execution select and destroy import running by right-clicking and "Delete entry"
    Regards

  • How could stop this thread that calls an externall function ?

    Hi all.
    i need an help about syncronization of two thread.
    the first one is smt like that
    Thread t = new Thread(new Runnable() {
                   public void run() {
                        long startTime = System.currentTimeMillis();
                        while (System.currentTimeMillis() - startTime < lifetime) {
                             if (c.dynamic) {                    
                                  c.adjustLayout();
                             c.repaint();
                             try {
                                  Thread.sleep(delayMillis);
                             catch (InterruptedException ex) {
                                  // ignore
              t.start();where c.adjustLayout(); & c.repaint(); are syncronized over a astructure called G using syncronized(G)
    now the second thread is:
         Thread t = new Thread(new Runnable() {
                   public void run() {
                        long startTime = System.currentTimeMillis();
                        while (System.currentTimeMillis() - startTime < lifetime) {
                             if (c.updateVisible) {
                                  c.updateVisibleGraph();
                             try {
                                  Thread.sleep(delayMillis);
                                  Thread.yield();
                             catch (InterruptedException ex) {
                                  // ignore
              });where the function c.updateVisibleGraph(); is syncronized over G as well. the problem is that this function, takes seconds, and block thread A and B (both of them ar suyncronized, so if B is running A cannot run).
    how can i stop c.updateVisibleGraph(); in the middle of the exectuion or each 50ms.
    is this possible?
    thanks
    Edited by: ELStefen on 26-ago-2010 16.08
    Edited by: ELStefen on 26-ago-2010 16.11

    isocdev_mb wrote:
    Using a synchronized-block is not designed to give up the lock for little while, it holds the lock until the block ends. Your requirement needs a far more fine-grained approach, quite different from your sketched implementation.
    It would involve quite an amount of guessing of what's behind the G and c your mentioning to suggest a way out. Please elaborate on what you're trying to achieve so that we can suggest how to do that...
    P.S. this forum likes problems to come with a simple working example, which you did not provide and a description of what you'd like to achieve, some context.as i thought, damn.
    Well give a working example is quite complex for the time being. Is a big project and take out this part is quite complex. But i can explain the goal.
    Practically there's a Graph (G)
    this graph is used by 2 thread, one is the update the edges and vertices, adding and removing them. the other one thread is the painter of the graph.
    the problem is when the first thread is updating the structure of G, sometimes this operation takes time (seconds) and being synchronized on G it blocks the paint thread as well.
    the thing that i would like to have is keep the painting working each tot millisecond. the updating thread works when necessary. if the update operation takes to long, it has to be stopped in the middle (and it has to restart after the paint) in a way that the paint thread can be executed.
    as the code is, and as you said, synchronizing the entire block code cannot works as i want.
    is this more clear? any clue about how can i solve this?
    many thanks
    Edited by: ELStefen on 27-ago-2010 12.43

  • How to execute external scripts that returns error code

    Hi,
    What is the best approach to execute a unix shell scripts in ODI thats return a code e.g. 1- found , 2 - not found. The return code needs to assigned to a ODI variable. I have gone through some posts that explained how to refresh odi variable from file. well in that case i have to write the error code to a file and then read to a ODI variable. Is there any direct approach available ? Is there any other way I can assign values to ODI variable other than its refresh methods ( select from <source>) for e.g. Inside odi procedure ?
    Thanks you all for answering this
    -Mansa

    In order to reduce the steps we need to do that using java itself. It will be something like this .
    Step 1. ODI procedure - Technology Java Bean shell .
    <@
    JAVA OS COMMOND CODE TO TRIGGER THE PEARL SCRIPT.
    GET THE RETURN INTO JAVA VARIABLE ( SAY FOR EX result )
    @>
    Step 2. Creating the variable.
    select any oracle schema
    select '<@=result@>' from dual
    and call this variable in refresh mode in package.
    Step 3. processing with variable what ever you wish to do .
    Personally i have not tried the java os command to get the return code . I will look into this and let you know sooner or later. If you want you can explore the code or google the code and see if what you are planning to achive is possible ,else the other way can be using the file as you know.

  • UCCX Script 8.5: How to create a script that plays exchange rate option

    Hi
    Has anyone created a UCCX script which has the option to play exchange rate, if yes can you tell me how to do this or provide a sample script

    Hi
    The text is available on a website.
    This an example of the text
    Current Rates
    Jamaican Dollar Save Smart (J$)
    Last Updated: Oct 09, 2012
    JA$ SaveSmart Account Interest rate is at : 3.66%
    United States Dollar Save Smart (US$)
    Last Updated: Oct 09, 2012
    US$ SaveSmart Account Interest Rate is at: 1.72%

Maybe you are looking for

  • Login Details

    I need to find the IP address who are all connecting to the database thru application or sqlplus

  • Console keeps opening

    I have a Macbook Air with Mavericks. When I startup from shutdown or sleep mode, the Console application opens up. Is there a way for this not to occur?

  • Encoding Display

    Okay, so using the client, here is the MIME data: Code: Return-path: <[email protected]> Received: from ip-smtp-bulk2.seek.com.au ([202.58.38.80]) by mail.ism.net.nz with ESMTP; Sun, 22 Jan 2012 02:40:18 +1300 DKIM-Signature: v=1; a=rsa-sha2

  • How do I transfer photos from computer to IPhone?

    I have downloaded photos from my old IPhone 4 to my Mac desk computer and I want to transfer these photos to my new IPhone 5 - how do I do that. I have connected the IPhone 5 to IPhoto on the desktop but it doesn't give me a choice to do that.

  • Doubt in Idoc user exit..............

    Hi All,            i have written the user exit for Sales Order subscreen tab called <b>additional data2</b> , this tab is provided by sap for developer can write their own user exit coding.            my doubt is whenever PO comes as an <b>Inbound I