# Threading issues

**URL:** <https://community.thinkgeo.com/t/threading-issues/1610>\
**Category:** WinForms\
**Created:** [March 1, 2011, 10:46am UTC](https://community.thinkgeo.com/t/threading-issues/1610 "2011-03-01T10:46:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danrens](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/d/f17d59/32.png) [@danrens](https://community.thinkgeo.com/u/danrens)\
**Post date:** [March 1, 2011, 10:46am UTC](https://community.thinkgeo.com/t/threading-issues/1610/1 "2011-03-01T10:46:58Z")

</div>

Hello,

I&nbsp;have&nbsp;an&nbsp;application&nbsp;that&nbsp;is&nbsp;messaging&nbsp;with&nbsp;vehicles&nbsp;real&nbsp;time&nbsp;and&nbsp;drawing&nbsp;maps&nbsp;at&nbsp;the&nbsp;same&nbsp;time.&nbsp;If&nbsp;the&nbsp;user&nbsp;holds&nbsp;down&nbsp;the&nbsp;mouse&nbsp;and&nbsp;pans&nbsp;continuously&nbsp;the&nbsp;main&nbsp;thread&nbsp;will&nbsp;starve&nbsp;the&nbsp;messaging&nbsp;threads&nbsp;so&nbsp;the&nbsp;vehicle&nbsp;believes&nbsp;it&nbsp;has&nbsp;lost&nbsp;communication&nbsp;with&nbsp;the&nbsp;control&nbsp;station.  
Could&nbsp;you&nbsp;please&nbsp;tell&nbsp;me&nbsp;if&nbsp;there&nbsp;is&nbsp;a&nbsp;way&nbsp;to&nbsp;make&nbsp;the&nbsp;map&nbsp;execute&nbsp;the&nbsp;pan&nbsp;and&nbsp;zoom&nbsp;functions&nbsp;in&nbsp;a&nbsp;separate&nbsp;thread?  
P.S.&nbsp;This&nbsp;is&nbsp;a&nbsp;small&nbsp;issue,&nbsp;you&nbsp;have&nbsp;to&nbsp;be&nbsp;trying&nbsp;hard&nbsp;to&nbsp;get&nbsp;it&nbsp;to&nbsp;happen,&nbsp;but&nbsp;is&nbsp;a&nbsp;bug&nbsp;on&nbsp;my&nbsp;list&nbsp;to&nbsp;fix.

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [March 1, 2011, 9:01pm UTC](https://community.thinkgeo.com/t/threading-issues/1610/2 "2011-03-01T21:01:01Z")

</div>

Dan,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;post,&nbsp;please&nbsp;use&nbsp;the&nbsp;multithread&nbsp;mode&nbsp;to&nbsp;try&nbsp;again,&nbsp;you&nbsp;just&nbsp;need&nbsp;to&nbsp;set&nbsp;the&nbsp;ThreadingMode&nbsp;property&nbsp;value&nbsp;as&nbsp;below:&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;winformsMap1.ThreadingMode&nbsp;=&nbsp;MapThreadingMode.Multithreaded;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Also,&nbsp;I&nbsp;would&nbsp;like&nbsp;to&nbsp;ask&nbsp;you&nbsp;what’s&nbsp;the&nbsp;version&nbsp;number&nbsp;you&nbsp;used&nbsp;for&nbsp;DesktopEdition,&nbsp;for&nbsp;this&nbsp;issue&nbsp;we&nbsp;cannot&nbsp;reproduce&nbsp;it&nbsp;exactly&nbsp;so&nbsp;if&nbsp;you&nbsp;still&nbsp;encounter&nbsp;the&nbsp;same&nbsp;problem&nbsp;after&nbsp;using&nbsp;the&nbsp;multithread&nbsp;mode&nbsp;please&nbsp;send&nbsp;your&nbsp;sample&nbsp;application&nbsp;to&nbsp;us&nbsp;so&nbsp;that&nbsp;we&nbsp;can&nbsp;track&nbsp;your&nbsp;problem&nbsp;correctly,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Scott,
