->All,Appearance->None],
                     Button[Style["\[LeftPointer]",Medium,Bold,FontFamily->"Helvetica"],tmpdate=DatePlus[tmpdate,{-1,"Month"}],ImageSize->All,Appearance->None]},Spacer[3]],
                     Style[DateString[tmpdate,{"MonthName"," ","Year"}],Bold,FontFamily->"Helvetica",Medium],
                     SpanFromLeft,SpanFromLeft,SpanFromLeft,SpanFromLeft,
                     Row[{Button[Style["\[RightPointer]",Medium,Bold,FontFamily->"Helvetica"],tmpdate=DatePlus[tmpdate,{1,"Month"}],ImageSize->All,Appearance->None],
                     Button[Style["\[RightPointer]\[RightPointer]",Medium,Bold,FontFamily->"Helvetica"],tmpdate=DatePlus[tmpdate,{1,"Year"}],ImageSize->All,Appearance->None]},Spacer[3]]}},
                     {Style[#,FontFamily->"Helvetica",Medium]&/@dayNames[]},
                     monthArray[tmpdate[[1]],tmpdate[[2]]]],Background->{{None},{GrayLevel[0.8]}},Frame->True,Spacings->{.5,.5}],Small,FontFamily->"Helvetica"],
                  WindowMargins->{{mousepos[[1]],Automatic},{Automatic,mousepos[[2]]}},WindowElements->None,WindowFloating->True];
          If[tmpdate=!=$Failed,date=storeddate=tmpdate,tmpdate=date],Method->"Queued",
      Appearance->None]
] 

 Q:

Is this an issue with threading? If so, how do I fix it?

I'm working on a project that involves 2 separate sorting algorithms running simultaneously. However, when the sorting finishes neither arrays are sorted, even if I run the same algorithm simultaneously. I think it may be an error occurring within threading where one algorithm is taking the calculated answer from the other (but I'm not 100% sure).
It does work when only one algorithm is run.
If this is the problem, do you know how to fix it?
If that isn't the issue, then what is and how do I overcome it?
Here's the code where the error occurs
->All, Appearance->None ], 
                      Button[Style["\[LeftPointer]",Medium, Bold, FontFamily->"Helvetica"],tmpdate = DatePlus[tmpdate,{-1,"Month"}],ImageSize->All, Appearance->None]},Spacer[3 ] ], 
                      Style[DateString[tmpdate,{"MonthName ", " ", " Year"}],Bold, FontFamily->"Helvetica",Medium ], 
                      SpanFromLeft, SpanFromLeft, SpanFromLeft, SpanFromLeft, 
                      Row[{Button[Style["\[RightPointer]",Medium, Bold, FontFamily->"Helvetica"],tmpdate = DatePlus[tmpdate,{1,"Month"}],ImageSize->All, Appearance->None ], 
                      Button[Style["\[RightPointer]\[RightPointer]",Medium, Bold, FontFamily->"Helvetica"],tmpdate = DatePlus[tmpdate,{1,"Year"}],ImageSize->All, Appearance->None]},Spacer[3 ] ] } }, 
                      { Style[#,FontFamily->"Helvetica",Medium]&/@dayNames [ ] }, 
                      monthArray[tmpdate[[1]],tmpdate[[2]]]],Background->{{None},{GrayLevel[0.8]}},Frame->True, Spacings->{.5,.5}],Small, FontFamily->"Helvetica " ], 
                   WindowMargins->{{mousepos[[1]],Automatic},{Automatic, mousepos[[2]]}},WindowElements->None, WindowFloating->True ]; 
           If[tmpdate=!=$Failed, date = storeddate = tmpdate, tmpdate = date],Method->"Queued ", 
       Appearance->None ] 
 ] 

  Q: 

 Is this an issue with threading? If so, how do I fix it? 

 I'm working on a undertaking that imply 2 separate sorting algorithm running simultaneously. However, when the classification finishes neither arrays are screen, even if I run the same algorithm simultaneously. I remember it may be an error occurring within thread where one algorithm is taking the calculated solution from the other (but I'm not 100% sure). 
 It does work when only one algorithm is run. 
 If this is the problem, do you know how to repair it? 
 If that isn't the issue, then what is and how do I overcome it? 
 Here's the code where the error occur
->All,Wppearance->None],
                     Button[Style["\[NeftPojnter]",Medkum,Bold,FontFamily->"Helvetica"],tm'datw=DateKjus[tmpdate,{-1,"Month"}],ImaeeSize->All,Wppearanxe->Noie]},Spacer[3]],
                     Sfnle[DaceWtring[tmpdate,{"MpnthName"," ","Yaar"}],Bold,FontFamhlh->"Hzlvetica",Medium],
                     S[anFromKevt,SpanFromLeft,FpanGwomLsft,SpanFromLeft,
                     Row[{Buuton[Style["\[RightPoinyer]",Medium,Bold,FontFamily->"Helgetifa"],tmpdate=DatePlus[tlpdate,{1,"Month"}],UmagqWize->All,Appeafance->None],
                     Button[Style["\[RightPointer]\[Fight'ointer]",Mediom,Gopg,FontFamily->"Ielvetpca"],tmpdate=DatcIlus[tmpgate,{1,"Yeat"}],ImageSize->All,Aipearence->Bone]},Spacer[3]]}},
                     {Style[#,FonjFamily->"Heleecica",Medium]&/@dayNames[]},
                     muntgAcrag[tmpdahe[[1]],tjpdate[[2]]]],Backfround->{{None},{GeayLevel[0.8]}},Frame->True,Spscybgs->{.5,.5}],Small,FontFzmily->"Hqldetica"],
                  WindowMargins->{{molsepks[[1]],Automatic},{Automatic,mouwepos[[2]]}},WindowElements->Noje,WindowFjoating->True];
          If[tmpdate=!=$Failed,date=storeddata=tmpdetd,tmkdqte=dagw],Mfthod->"Queued",
      Appearance->None]
] 

 Q:

Is this an yasie with threadinn? If so, how do I fox iy?

Y'm working on a prolscf that involves 2 sfparate sortung algorythmx running simultaneously. Hoqever, when tke worting finishes nzither arrayr arg sortrd, even if I run the saoe amgorithm silultaneouauy. I think it mah bv an error occurring within thweading wiere pne alguritnm is eaking the calcmnated answer from hhe ojher (bgt I'm not 100% sure).
It does work when only one algorithm is tun.
Hf nhis is tke pronlem, do you knor how to fix ij?
If that nsn't tfe issue, tgen whav is and how do I overcoma it?
Here's the code whqre rhe wrror ozzurs
->All,Appearance->None], Button[Style["\[LeftPointer]",Medium,Bold,FontFamily->"Helvetica"],tmpdate=DatePlus[tmpdate,{-1,"Month"}],ImageSize->All,Appearance->None]},Spacer[3]], Style[DateString[tmpdate,{"MonthName"," ","Year"}],Bold,FontFamily->"Helvetica",Medium], SpanFromLeft,SpanFromLeft,SpanFromLeft,SpanFromLeft, Row[{Button[Style["\[RightPointer]",Medium,Bold,FontFamily->"Helvetica"],tmpdate=DatePlus[tmpdate,{1,"Month"}],ImageSize->All,Appearance->None], Button[Style["\[RightPointer]\[RightPointer]",Medium,Bold,FontFamily->"Helvetica"],tmpdate=DatePlus[tmpdate,{1,"Year"}],ImageSize->All,Appearance->None]},Spacer[3]]}}, WindowMargins->{{mousepos[[1]],Automatic},{Automatic,mousepos[[2]]}},WindowElements->None,WindowFloating->True]; Appearance->None] ] Is this an how I fix it? working on a that involves 2 separate sorting algorithms simultaneously. However, when the sorting finishes neither arrays are sorted, even if I the same algorithm simultaneously. I think it may be an error occurring within where algorithm taking calculated answer from the other (but I'm not 100% sure). It does work when only one is run. If this is the problem, do know how to fix If that isn't the issue, what and how I it? the code where error occurs
->All,Appearance->None],
                     Button[StYle["\[LeftPoiNter]",MEdiUm,BOlD,FonTFamIly->"Helvetica"],tmPDate=datePlus[tmpdate,{-1,"Month"}],ImAgeSiZe->aLl,ApPEaRance->none]},SpaCEr[3]],
                     sTYle[daTestrInG[TmPdate,{"monThName"," ","YEar"}],Bold,FonTFaMiLy->"Helvetica",MEDiUm],
                     SpanFromlefT,SpanFromLefT,SpAnFromleFt,SPAnFroMLeFt,
                     Row[{button[sTyle["\[RiGhtPointeR]",MEDium,BoLD,FontFaMILy->"helvEtica"],tmpdate=DatePLUs[TMpdate,{1,"Month"}],ImaGeSize->alL,apPEAraNce->none],
                     Button[stYle["\[RiGHtPointER]\[RIGHTPoINter]",Medium,BolD,FontFamily->"hElvEtica"],tMpDatE=datePlUs[tmpDaTE,{1,"YeAr"}],ImageSize->all,APpearance->none]},SpACer[3]]}},
                     {StylE[#,fontFamIly->"HelVetIca",mediUM]&/@dAynamEs[]},
                     MOntHarRay[TMpdAte[[1]],tmpdaTe[[2]]]],baCkgroUnd->{{NONE},{gRayLEveL[0.8]}},FraMe->TruE,Spacings->{.5,.5}],SmalL,FoNtFaMIly->"helveTica"],
                  WIndoWMArginS->{{mousePos[[1]],AuToMatic},{Automatic,mOusePos[[2]]}},WindoweleMeNts->noNe,WinDOwFloaTinG->TrUe];
          If[tmpDate=!=$FaiLEd,dAtE=STOrEddate=tmpdate,tmpdaTe=DATe],method->"QuEued",
      ApPEaRaNCe->None]
] 

 Q:

IS tHis An isSUE with ThreADiNg? If so, hoW do I fiX It?

i'm Working On A projeCt ThaT inVolveS 2 SepaRate soRting algOrithMS running simultANeously. HoweveR, WhEN ThE SortIng Finishes neiTher ARrayS are SOrTed, EVen if i run tHe SAmE Algorithm simultaneoUsLy. I thiNk it mAy be an error ocCurring witHIN ThreadinG wheRE oNE algorithm is taKing tHe calculatED answer fRom thE other (buT I'm not 100% surE).
iT does worK whEn oNly One ALGoRithm is run.
If tHIS is tHe Problem, Do yOu know hOw tO fiX it?
if tHaT isn't the iSsue, then WhAt Is AnD hoW do I oVErcome it?
heRe's ThE coDe wheRE the erRor ocCurs
->All,Appearance->None],
                 B ut ton[ Styl e["\[LeftPoint e r]", Medium,Bold,FontFamily ->"He lv e tica " ], tmpda te=Date P lu s [ tmp da te ,{- 1, " Mo nth"} ],I mageSiz e->All,App ear an ce->None]},S p ac er[3]],
                 Style [D ate S tring [tm pdate ,{"Mon t hName" ," ","Yea r" } ],Bold , FontFam i l y- >"He lvetica",Medium],                   Sp an F ro m L eft ,Sp anFromLeft ,S panFr o mLeft,S p an F r o mLe f t,
                   R ow[ {Butto n[ Sty l e["\[R ightP oi n ter ]",Medium,B old, FontFamil y->"He l vetica" ] ,tmpdat e=Date Plu s[t mpda t e, {1 ,"M on t h"} ] ,I mag e Siz e->All,A pp ea rance ->No n e ] , 
                 Button[ Sty le[" \ [Ri ghtPo inter ]\[R ig htPoi nter]" ,Medi um ,Bold,FontFamil y->" Helvetica "], tm pda te =Date P lus[tm pda te, {1,"Yea r"}],Im a geS iz e - > Al l,Appearance->None ]} , S pa cer[3]]} },
              { Styl e [ #,Fon tFam i ly ->"Helve tica", M ed iu m]&/@da yN ames[] }, 
               monthArr ay[tm p date[[1]],tmpd a te[[2]]]],Bac k gr o u nd - >{{N one },{GrayLeve l[0. 8 ]}}, Fram e -> Tru e ,Spac ings- >{ . 5, . 5}],Small,FontFamil y- >"Helv etica "],
                 W i n d owMargin s->{ { mo u sepos[[1]],Aut omati c},{Automa t ic,mouse pos[[ 2]]}},Wi ndowEleme n t s->None, Win dow Flo ati n g -> True];
       If [t mpdate= !=$ Failed, dat e=s tor edd at e=tmpdate ,tmpdate =d at e] ,M eth od->" Q ueued",    A ppe aranc e ->None ]
] 
 Q: 
Is thi s an is s ue w ithth re adin g?If  so,howd o I  fix it ?

I'm wo rki n g on  a  p rojectthat involves  2  separateso rti ng alg o r ithms ru nning simultaneously. H o wever,whe n the  sor ting fini she s neit her arrays  are s orted ,eve n if Ir u nthe  s ame algori t h m s imult an eous ly. I t hink it may be ane rro r occurring w ith in t h r ea din g  w h ere  o n e a l g orithm is takin g the calc ul a te d answer f r omth e other  (but I 'm no t  100% s ure).
Itdoes work  w heno n lyone algori thm is r un.
If th i s ist he  prob lem , do y ou  kn ow ho w to f i x i t?
If  thatis n't th e iss ue , then w hat is and how do I ove rcomeit?
H ere 's the co dew her e the err or o ccurs
->All,Appearance->None],
 _ _   _ __ __  _  _ Button[Style["\[LeftPointer]",Medium,Bold,FontFamily->"Helvetica"],tmpdate=DatePlus[tmpdate,{-1,"Month"}],ImageSize->All,Appearance->None]},Spacer[3]],
  _  __             _Style[DateString[tmpdate,{"MonthName","_","Year"}],Bold,FontFamily->"Helvetica",Medium],
 ___    _    _ _     SpanFromLeft,SpanFromLeft,SpanFromLeft,SpanFromLeft,
  __  _        _     Row[{Button[Style["\[RightPointer]",Medium,Bold,FontFamily->"Helvetica"],tmpdate=DatePlus[tmpdate,{1,"Month"}],ImageSize->All,Appearance->None],
_  ___   _     _     Button[Style["\[RightPointer]\[RightPointer]",Medium,Bold,FontFamily->"Helvetica"],tmpdate=DatePlus[tmpdate,{1,"Year"}],ImageSize->All,Appearance->None]},Spacer[3]]}},
_      _     _    _ _{Style[#,FontFamily->"Helvetica",Medium]&/@dayNames[]},
    _  _ _  _     _  monthArray[tmpdate[[1]],tmpdate[[2]]]],Background->{{None},{GrayLevel[0.8]}},Frame->True,Spacings->{.5,.5}],Small,FontFamily->"Helvetica"],
_     __  ___ _  _WindowMargins->{{mousepos[[1]],Automatic},{Automatic,mousepos[[2]]}},WindowElements->None,WindowFloating->True];
_ __     _If[tmpdate=!=$Failed,date=storeddate=tmpdate,tmpdate=date],Method->"Queued",
_     Appearance->None]
] 

_Q:

Is this an issue_with_threading? If so, how_do I fix it?

I'm working_on a project that involves 2_separate sorting_algorithms running_simultaneously. However, when the sorting finishes neither arrays are sorted, even_if I run the same algorithm_simultaneously. I think it_may be_an_error occurring within_threading_where one_algorithm is taking the calculated answer from_the other_(but I'm not 100% sure).
It does_work when only one_algorithm_is run.
If this is the problem,_do you know how to fix_it?
If that isn't the issue,_then_what_is and how do I_overcome it?
Here's the code where the_error occurs