SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2001
    Posts
    22
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pause one thread but let other threads continue

    I'm running tests that will operate on several machines using different threads. (SilkTest version 5.0.3)

    At several points in these tests, I want to have SilkTest click certain buttons, then wait for up to 10 minutes or more.

    The problem is, whenever I try to do this using the Pause() function, every thread seems to pause instead of only the particular thread I want paused.

    It could be that I'm mistaken about the Pause() function, and it's something else in my scripts that cause the other threads to pause... Can anyone confirm whether the Pause() function will truely pause all running threads?

    If so, does anybody know how to get around this?

    Any help is very much appreciated!

    -Chris

    ------------------

  2. #2
    Senior Member
    Join Date
    Apr 2001
    Location
    San Diego,CA,USA
    Posts
    108
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pause one thread but let other threads continue

    I think you should use the parallel state ment before you start the asyncronus process

    for example

    parallel
    do something on machine 1
    do something on machine 2

    this will block the thread which finishes first

    hope it helps

    BTW I am not aware of a pause function
    ------------------


    [This message has been edited by AUTOMATION_GURU (edited 08-08-2002).]

  3. #3
    Junior Member
    Join Date
    Oct 2001
    Posts
    22
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pause one thread but let other threads continue

    I'm sorry, I meant the Sleep () function!

    I should have mentioned that I'm a Newbie!

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 03:50 PM.

Copyright BetaSoft Inc.