[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grinder-use
Subject:    Re: [Grinder-use] How to call shutdown( ) method?
From:       olivier merlin <omerlin13 () gmail ! com>
Date:       2009-08-17 11:14:18
Message-ID: 99350390908170414k7e95e436sfa654cc13c7f295c () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

You have done !
This is a new & very usefull API in 3.2.
rgds,
Olivier


2009/8/17 Guido Serra <guido.serra@vodafone.com>

> Found!
> 
> Sorry for bothering u guys :-)
> 
> from net.grinder.script.Grinder import grinder
> 
> except Exception, e:            grinder.stopThisWorkerThread()
> 
> Cheers,
> G.
> 
> Am 8/17/09 11:23 AM schrieb "Guido Serra" unter <guido.serra@vodafone.com
> > > 
> 
> Hi Olivier,
> I just digged ur email....
> 
> 
> http://sourceforge.net/mailarchive/message.php?msg_name=99350390812290140i59b8898fj87789cb8cd589446%40mail.gmail.com
>  
> *[Grinder-use] Thread management API
> *    From: olivier merlin <omerlin13@gm...> - 2008-12-29 09:40
> 
> Do u have any update on that?
> 
> Regards,
> G.
> 
> 
> 
> Am 8/17/09 11:03 AM schrieb "Guido Serra" unter <guido.serra@vodafone.com
> > > 
> 
> Hi All,
> I need to raise an error from a thread an let the whole system run
> shutdown.
> (the same shutdown than be triggered from the Console)
> 
> Is there a way to call, raise this, from the code upon a particular
> situation?
> I need to involve all the running processes in this... Is it possible?
> 
> RuntimeError os sys.exit( ) do not work properly for this task. The error
> log keeps increasing.
> 
> Regards,
> 
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> grinder-use mailing list
> grinder-use@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/grinder-use
> 
> 


[Attachment #5 (text/html)]

Hello,<br><br>You have done !<br>This is a new &amp; very usefull API in \
3.2.<br>rgds,<br>Olivier<br> <br><br><div class="gmail_quote">2009/8/17 Guido Serra \
<span dir="ltr">&lt;<a \
href="mailto:guido.serra@vodafone.com">guido.serra@vodafone.com</a>&gt;</span><br> \
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); \
margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<font face="Lucida Grande"><span style="font-size: 11pt;">Found! <br>
<br>
Sorry for bothering u guys :-)<br>
<br>
        from net.grinder.script.Grinder import grinder<br>
<br>
        except Exception, e:
            grinder.stopThisWorkerThread()<br>
<br>
Cheers,<br>
G.<br>
<br>
Am 8/17/09 11:23 AM schrieb &quot;Guido Serra&quot; unter &lt;<a \
href="http://guido.serra@vodafone.com" \
target="_blank">guido.serra@vodafone.com</a>&gt;:<br> <br>
</span></font><div><div></div><div class="h5"><blockquote><font face="Lucida \
Grande"><span style="font-size: 11pt;">Hi Olivier,<br> I just digged ur email....<br>
<br>
<a href="http://sourceforge.net/mailarchive/message.php?msg_name=99350390812290140i59b8898fj87789cb8cd589446%40mail.gmail.com" \
target="_blank">http://sourceforge.net/mailarchive/message.php?msg_name=99350390812290140i59b8898fj87789cb8cd589446%40mail.gmail.com</a><br>


<br>
    <b>[Grinder-use] Thread management API<br>
</b>    From: olivier merlin &lt;omerlin13@gm...&gt; - 2008-12-29 09:40<br>
  <br>
Do u have any update on that?<br>
<br>
Regards,<br>
G.<br>
<br>
<br>
<br>
Am 8/17/09 11:03 AM schrieb &quot;Guido Serra&quot; unter &lt;<a \
href="http://guido.serra@vodafone.com" \
target="_blank">guido.serra@vodafone.com</a>&gt;:<br> <br>
</span></font><blockquote><font face="Lucida Grande"><span style="font-size: \
11pt;">Hi All,<br> I need to raise an error from a thread an let the whole system run \
shutdown.<br> (the same shutdown than be triggered from the Console)<br>
<br>
Is there a way to call, raise this, from the code upon a particular situation?<br>
I need to involve all the running processes in this... Is it possible?<br>
<br>
RuntimeError os sys.exit( ) do not work properly for this task. The error log keeps \
increasing.<br> <br>
Regards,<br>
</span></font></blockquote></blockquote>
</div></div></div>


<br>------------------------------------------------------------------------------<br>
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day<br>
trial. Simplify your report design, integration and deployment - and focus on<br>
what you do best, core application coding. Discover what&#39;s new with<br>
Crystal Reports now.  <a href="http://p.sf.net/sfu/bobj-july" \
target="_blank">http://p.sf.net/sfu/bobj-july</a><br>_______________________________________________<br>
 grinder-use mailing list<br>
<a href="mailto:grinder-use@lists.sourceforge.net">grinder-use@lists.sourceforge.net</a><br>
 <a href="https://lists.sourceforge.net/lists/listinfo/grinder-use" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/grinder-use</a><br> \
<br></blockquote></div><br>



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic