How to start a thread after the execution/termination of another thread.???

Hello,
How to start a thread after the execution/termination of another thread....???
For example:
consider two threads: ThreadA and ThreadB
I could start the ThreadB after the execution of ThreadA.
How to identify the termination of one thread.....???
Please help me...
Thanks & Regards,
Kayalvizhi

What do you mean with "it doesn't work"? Do you get a compiler error? Do you get an exception at runtime? What's the error message?
Jesper

Similar Messages

  • How to start my webpage after the intro

    Hello. I'm novel at Flash, just started a few days ago, so I guess my question is basic . I've cheked it in forums but I could not find an answer.
    1. What I've got: I'm making my personal webpage in Flash. I've created the INTRO, it's just a bunch of words that move. 
    2. What I want next: The last frame of the intro, I want it to be the main menu of my webpage, so those words that were moving in the intro now are stopped and became buttons. I'll put images linked to the buttons.
    I can't do the step 2. I've created buttons and linked them to the images that I want, but when I test the video, It just plays the intro and then the images. I mean, I want the intro stops and then just control the buttons. I put an "action script 2 stop" in a layer name "actions", in the frame that I want the intro stop, but it reproduces the images too. 
    I think I've got a problem with the timeline or the stop action, but I'm not sure.
    I've attached a link which contains the intro.
    Thank you very much
    http://www.mediafire.com/?9afawkz993h3467

    I think I've got it. The problem is solved by creating two different scenes (one for the intro and another for the main menu), isn't it?

  • Wait for the execution end of a Thread

    Hi every body,
    How to make a program waiting the execution end of a thread,
    the instruction join did not work fine.
    Computation c = new Computation();
    Thread t = new Thread(c);
    t.start();
    t.join(); // here my thread dead
    System.out.println("done");
    Regards

    Did you try it without t.join?And t did its work fine in that case, but putting the join into the main thread caused t to not do anything?
    I can't say what's happening without more code, but two possibilities pop to mind:
    1) You changed something else, and join has nothing to do with it.
    2) You're syncing on t in a way that interferes with (or gets interference from) join (which also syncs on t).

  • HT3986 How do I start up Mac after the Windows has been installed.

    How do I start up Mac after the Windows has been installed? And after I installed the Windows, my Audio is gone. How can I get it back?

    Welcome to the Apple Support Communities
    1. To boot into Mac OS X, press X key while your computer is starting.
    2. Install Boot Camp drivers

  • Macbook air Wi Fi and sound stops every time it goes to sleep. i have to  restart it every time to use wifi and sounds. this started happening just after the latest upgrade to X. any reasons why its doing that and how to fix it.

    Macbook air Wi Fi and sound stops every time it goes to sleep. i have to  restart it every time to use wifi and sounds. this started happening just after the latest upgrade to OS X. any reasons why its doing that and how to fix it.

    Test after taking each of the following steps. Back up all data before making any changes.
    1. Make sure the network is on the preferred list by following these instructions. It's important to read the article carefully, as it's the starting point for any further efforts to solve the problem. If you skip any of the steps, the problem may not be solved.
    2. Follow the instructions in this support article under the heading "Symptom: The network connection drops unexpectedly."
    3. Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    4. From the Location menu at the top of the Network preference pane, select Edit Locations. A sheet will drop down. Click the plus-sign button to create a new location. Give it any name you want. In the new location, set up the Wi-Fi service with the same settings you used before. Click Apply and test.
    5. Launch the Keychain Access application. Search for and delete all AirPort network password items that refer to the network. Make a note of the password first.
    6. In some cases, the problem has been resolved by repairing permissions on the startup volume.
    7. Turn off Bluetooth and test.
    8. Reinstall OS X.

  • Components are invalid after the execution of utlrp.sql

    Hi All,
            I have migrated one database from the version 10.2.0.4 to 10.2.0.5, After the execution of upgrade script all components are found as valid, and then I executed utlrp.sql and at the end of this execution some of the components became Invalid. Please find the details below and Can anyone help me on this?
    I have used RMAN for migration and started the database by using startup upgrade.
    SOURCE:
    OS : Linux 2.6.18-92.el5
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    TARGET:
    OS :Linux  2.6.18-274.el5
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    PL/SQL Release 10.2.0.5.0 - Production
    CORE    10.2.0.5.0      Production
    TNS for Linux: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    Regards,
    Jai

    Hi All,
           I have resolved this issue after the re installation of  Spatial component
    Thanks

  • Hellow my i pod is not working.actually bettry was too low then i puted on charging.it starting charging but not going to power on.when it tried to starting on sunndly after the apple logo it showd the 5 % bettry and went back off and this proses is carry

    hellow
    my i pod is not working.actually bettry was too low then i puted on charging.it starting charging but not going to power on.when it tried to starting on sunndly after the apple logo it showd the 5 % bettry and went back off and this proses is carry on.plz help me how it witt work starting.i urgently need to on my i pod.plz help me plzzzzzzzzzzzzzzzz

    Hi there shehla sattar,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iPad: Basic troubleshooting
    http://support.apple.com/kb/ts3274
    -Griff W.

  • Credit Risk Analyzer - How limits can be reset after the term has ended

    Hi Experts,
    I would like to know how limits can be reset after the transaction term has ended.
    Currently, my utilization reports still show past transactions and this transactions are still affecting my limit calculation report.
    Am I missing a process or a configuration?
    Also, would anyone know where the SAP limit utilization report is pulling out the transactions so when I run the limit utilization report, I can still view historical data?
    Thanks in advance.

    Hi Jerry,
      I do not think this customization helps. It only has two options to set start date as start of term or as date of commitment. But what if i want to set in future like your problem. Do we make it date of commitment for all the money market instruments?
    Best regards!
    Sandip

  • No rows are loaded after the execution

    Which product and version are you using?
    ans client 9.2.0.2.8 and db 9.2.0.4
    - On which platform and version is it installed?
    windows 2000
    - Is this part of Oracle Applications (i.e. Financials, Inventory, etc.)?
    its part of 9ids. I installed data warehouse in saperate home
    - Has this ever worked correctly? If yes, what has changed?
    No. This is my first project and we are evaluating oracle over other warehouse
    product.
    All is working except the rows are not loaded. Mapping is validated correctly. Deployed successfully, executed successfully from the deployment manager but 0
    rows are loaded. You get a small pop up window after execute of a mapping. Log message
    at the end of the execute shows insert 0, update 0, delete 0 and merged 0.
    The mapping consists of two table operators. One from source table from differenct schema and one for target. There is nothing so complicated here. All I want is
    to copy the data from source to target table through warehouse. My question really what do I need to insert the record? Once the mapping is defined, deployed and executed should not the rows be loaded?
    Everything else is working. Like creation of target tables and so on.
    The source operator properties are bound_name-eqpthist_qtr, primary source-no loading type-Insert.
    The target has bouondname-test, primary source-no, loading type delete/insert.

    after the execution there errors whatsoever. It executes with out any error.
    Its working when I replace the source table with one from the target schema itself. I mean a copied table to target using slqplus. I uses any tables under its schema itself then all the rows are inserted. Its not working when copying/referencing from another source schema. THe target user is given select any table, all object privileges of the source table, even dba role. Still no rows are loaded.
    the target has DBA,CONNECT,RESOURCE,AQ_USER_ROLE, WB_A_VLSIOWRUN, WB_D_VLSIOWRUN, WB_R_VLSIOWRUN, WB_U_VLSIOWRUN, SELECT_CATALOG_ROLE.
    The target has system privs as
    CREATE VIEW
    CREATE TABLE
    ALTER SESSION
    CREATE SESSION
    CREATE SYNONYM
    CREATE TRIGGER
    CREATE ANY TYPE
    CREATE SEQUENCE
    CREATE SNAPSHOT
    CREATE DIMENSION
    CREATE INDEXTYPE
    CREATE PROCEDURE
    SELECT ANY TABLE
    DROP ANY DIRECTORY
    DROP PUBLIC SYNONYM
    CREATE ANY DIRECTORY
    CREATE DATABASE LINK
    GLOBAL QUERY REWRITE
    UNLIMITED TABLESPACE
    CREATE PUBLIC SYNONYM
    SELECT ANY DICTIONARY
    CREATE PUBLIC DATABASE LINK
    and the following privs on the source table as well
    SELECT
    ALTER
    DELETE
    INDEX
    INSERT
    UPDATE
    REFERENCES
    ON COMMIT REFRESH
    QUERY REWRITE
    DEBUG
    FLASHBACK

  • How to start free trial after download in photoshop

    i have downloaded the Free trial version of photoshop but i have no idea how to start doing work with the free trial.  Help????

    If you're using an older computer & operating system, you might be able to download a free-trial of CS6 instead. Just be sure to follow the VERY IMPORTANT INSTRUCTIONS. 
    CS6 Direct Downloads
    http://prodesigntools.com/adobe-cs6-direct-download-links.html
    CS6 Suite's Tech Specs
    http://prodesigntools.com/products/adobe-cs6-system-requirements.html
    Once your product(s) are installed on your computer, you launch them the same way you launch any software, via the desktop shortcut or from Program Files (win) or Applications folder (mac).
    Nancy O.

  • How can i open iphoto after the new update OS X 10.9.2 (13C64) i keep getting this mac can not open this application.

    How can i open iphoto after the new update OS X 10.9.2 (13C64) i keep getting this mac can not open this application.

    This screenshow shows which previous versions of iPhoto are compatible with Mavericks.  It also indicates which versions qualify for a free upgrade to iPhoto 9.5.1 and which require a purchase:
    OT

  • When I  update an app it asks for my password (as usual) but now there is no touch keyboard or other way to enter the password. This problem started, I think, after the latest OS update.What's going on?

    When I  update an app it asks for my password (as usual) but now there is no touch keyboard or other way to enter the password. This problem started, I think, after the latest OS update.What's going on?

    I tried a reset and it did the trick.

  • Pages wont load half the time have to close all the way and reopen always says conecting this really started to happen after the last 2 updates

    pages wont load half the time have to close all the way and reopen always says connecting this really started to happen after the last 2 updates

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. <br>
    '''Note''': ''This will cause you to lose any Extensions and some Preferences.''
    *Open websites will not be saved in Firefox versions lower than 25.
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • HT5858 How do you close apps after the new apple update?

    How do you close apps after the new apple update?

    Double tap the home button and swipe upwards on the preview of the App (not the App Icon).
    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf

  • TS4009 how do you retrieve information after the system has been reset to default

    how do you retrieve information after the system has been reset to default?

    From a backup on itunes or icloud, assuming you have made backups.  Connect to itunes and in the first tab for your device, choose to perform a restore.

Maybe you are looking for

  • How to  get  a value  from  SARTRE

    hI , I have a requirment, wherein I need to get the value of a field of SARTRE table. How can I get the field value of the table from SARTRE.. Thank u, Bharani

  • How to locate my purchased music

    I recently had to reboot my machine back to factor specs, and in the process lost a lot of my songs I paid for.  Now I'm trying to pull up the window to show the purchased songs and re install them in my computer.  CAn anyone help me?

  • Connecting Audigy2 ZS Plat Pro to dvd pla

    I have the Audigy 2 ZS Plat. Pro sound system for my computer and just recently bought a Samsung Blue Ray dvd player (BD-P200) Is it possible to connect my new DVD player to my computer surround sound system? Or do i need a Decoder ?

  • JSP newbie: local Sun Java System Application Server installation

    I am new to JSP and I am preparing to get the software I need. JDK 6 and Netbeans 6 are installed. Now I need an application server. Since the Sun tutorials use the "Sun Java System Application Server" I have choosen this one (version 9.1). As far as

  • Error    -   new tab in mm01

    hi friends, i am trying to add new view in mm01/mm02/mm03. using spro create a function group . after create a screen(in se80). i write the code underPBO(in new include) MODULE disable_field OUTPUT if sy-tcode = 'mm03'.   LOOP AT SCREEN.     screen-i