[new to threads] threads with UI and loop

Discussion in 'Ruby' started by Une bévue, Jun 14, 2006.

  1. Une bévue

    Une bévue Guest

    i have a ruby app (RubyCocoa over MacOS X using also RubyAEOSA)
    needing to use several threads.

    all of the parameters are controlled by the UI


    then, it's a thread apart having a empty loop when nothing to do, i call
    that thread "UI_thread". This process make use of "RubyCocoa" in order
    to control a cocoa interface.

    apart from ui i have saying one action, saying "process" which as to be
    launched every 5, 15, 30 or 60 minutes (depending from a parameter given
    by the "UI_thread". This thread called "Process_control" loops to itself
    after the time delay.

    then a third thread called "Process" being launched by "Process_control"
    independantly of "UI_thread" every time delay. This process make use of
    RubyAEOSA, applescripting another application (MacSOUP)

    any advices on how to organize that ?

    --
    une bévue
    Une bévue, Jun 14, 2006
    #1
    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. Uday Bidkar
    Replies:
    4
    Views:
    470
    =?ISO-8859-15?Q?Juli=E1n?= Albo
    Dec 12, 2006
  2. The Danny Bos

    IOError and Try Again to loop the loop.

    The Danny Bos, Jul 12, 2010, in forum: Python
    Replies:
    7
    Views:
    328
    Chris Rebert
    Jul 12, 2010
  3. a s
    Replies:
    16
    Views:
    4,537
    JustJohn
    Mar 8, 2011
  4. Replies:
    2
    Views:
    400
    Thomas 'PointedEars' Lahn
    Mar 11, 2008
  5. Isaac Won
    Replies:
    9
    Views:
    342
    Ulrich Eckhardt
    Mar 4, 2013
Loading...

Share This Page