--- Steven McPhelan <[EMAIL PROTECTED]> wrote:

> Mostly likely J1 would
> run to
> completion before J2 even started.  With most processes today, I
> doubt 15000
> would be sufficient.
> 


Curiouser and curiouser...After 158,108 (on this run) there was a
switch, but then the two jobs proceeded in lockstep. 

BAY>ZL ZZGREG1 ZP
EN       ; ; 1/17/06 6:55pm
         N I,X,X1,CNT
         S ^XTMP("GREG")=0
         J RUN("A")
         J RUN("B")
         S I=0,X="",X1="",CNT=0
         F  S I=$O(^XTMP("GREG",I)) Q:((I="")!(CNT>10))  D
         .S X1=X
         .S X=$G(^XTMP("GREG",I))
         .W:X'=X1 !,"Changing to ",X," at I = ",I
         .S:X'=X1 CNT=CNT+1
         K ^XTMP("GREG")
         Q
RUN(X)   ;
         N I,J
         F I=1:1:250000 D
         .S J=$INCREMENT(^XTMP("GREG"))
         .S ^XTMP("GREG",J)=$G(X)
         Q


BAY>D ^ZZGREG1

Changing to A at I = 1
Changing to B at I = 158108
Changing to A at I = 158109
Changing to B at I = 158110
Changing to A at I = 158111
Changing to B at I = 158112
Changing to A at I = 158113
Changing to B at I = 158114
Changing to A at I = 158115
Changing to B at I = 158116
Changing to A at I = 158117
BAY>

===
Gregory Woodhouse  <[EMAIL PROTECTED]>
"All truth passes through three stages: First, it is ridiculed.
Second, it is violently opposed. Third, it is accepted as
being self-evident."
--Arthur Schopenhauer


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to