sync two threads

Discussion in 'Java' started by Abs, Jul 4, 2004.

  1. Abs

    Abs Guest

    Hi!

    I've two threads in my app running at the same time. One of them shows
    some pics in a slideshow, the other plays some background music. How can
    I sync the music thread to stop when the slideshow thread ends ?


    thanks in advance
    Abs, Jul 4, 2004
    #1
    1. Advertising

  2. Abs

    Roedy Green Guest

    On Sun, 04 Jul 2004 20:11:25 +0200, Abs <> wrote or
    quoted :

    > I've two threads in my app running at the same time. One of them shows
    >some pics in a slideshow, the other plays some background music. How can
    >I sync the music thread to stop when the slideshow thread ends ?


    See http://mindprod.com/jgloss/jmf.html

    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
    Roedy Green, Jul 4, 2004
    #2
    1. Advertising

  3. Abs

    Guest

    , Jul 16, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Spur

    sync on multiple clocks

    Spur, Aug 6, 2003, in forum: VHDL
    Replies:
    2
    Views:
    4,314
    Mike Treseler
    Aug 6, 2003
  2. Mark
    Replies:
    3
    Views:
    500
    bruce barker
    Aug 26, 2004
  3. Brian J. Sayatovic

    Making two JButtons "rollover" in sync

    Brian J. Sayatovic, Aug 6, 2003, in forum: Java
    Replies:
    6
    Views:
    1,697
    Bill Dennis
    Aug 8, 2003
  4. GenxLogic
    Replies:
    3
    Views:
    1,242
    andrewmcdonagh
    Dec 6, 2006
  5. Trans
    Replies:
    2
    Views:
    464
    Trans
    Dec 12, 2005
Loading...

Share This Page