title: C# Threads.Abort()
body: <p>If a thread is running a function <code>func1</code> that calls another function <code>func2</code> inside it...<br/></p>
  
  <p>Then I called thread.Abort()<br/></p>
  
  <p>Will this stop <code>func1</code> only<br/> 
  OR  <code>func1</code> and <code>func2</code> and all the functions <code>func1</code> has called??</p>
  
  <p>Thanks</p>
  
  <p><strong>Edit: Here are more detail:</strong></p>
  
  <p><code>func1</code> is called in a new thread, it continuously calls <code>func2</code> on regular basis...<br/>
  <code>func2</code> begin doing some work only if some array is not null.. it finishes it and return</p>
  
  <p>When supervisor wants to save data, it aborts Thread of <code>func1</code>- and then makes array null, saves data, then fill in the array with new one.. and starts Thread with <code>func1</code> again..</p>
  
  <p>Sometimes exception is raised because array is null in <code>func2</code>.. so func1 abort did not affect func2</p>