nonblocking skill

Discussion in 'Cadence' started by danmc, Jan 27, 2005.

  1. danmc

    danmc Guest

    Hi,

    Is there a way to write a non-blocking skill function? What I want is
    something like

    myGrabLicense(lic#) which will try once a minute or something to get a
    particular license and won't give up until it gets it. Then I want a
    dialog box to pop up and tell me.

    I think I know how to do this with something like

    (while (not (lmCheckOut lic 5.0)) (sleep 60))
    (myGotItDialog)

    but of course this blocks and my entire cadence session is unresponsive
    until I finally get the license in question.

    Thanks
    -Dan
     
    danmc, Jan 27, 2005
    #1
  2. danmc

    Guest Guest

    Use: hiRegTimer( t_commandString x_tenthsOfSeconds ) => t/nil

    -Pete Zakel
    ()

    "We must all hear the universal call to like your neighbor just like you like
    to be liked yourself."
    -George W. Bush at a South Carolina oyster roast;
    quoted in the Financial Times, Jan. 14, 2000
     
    Guest, Jan 27, 2005
    #2
Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.