title: How to create multiprocess with edk2?
body: <p>i have create a timer like this, and it work will, but when I want to create two timer work together, only one timer' call back function can work, please help, thanks:</p>
  <pre><code>EFI_STATUS TimerInit()
  {
      EFI_STATUS  Status;
      EFI_HANDLE  TimerOne    = NULL;
      //BOOLEAN       ExitMark    = FALSE;
      static const UINTN SecondsToNanoSeconds = 1000000;
  
      Status = gBS-&gt;CreateEvent(
                                  EVT_NOTIFY_SIGNAL | EVT_TIMER,
                                  TPL_CALLBACK,
                                  TimeoutSelf,
                                  NULL,
                                  &amp;TimerOne
                                  );
  
      if ( EFI_ERROR( Status ) )
      {
          Print( L&quot;Create Event Error! \r\n&quot; );
          return(1);
      }
  
      Status = gBS-&gt;SetTimer(
          TimerOne,
          TimerPeriodic,
          MultU64x32( SecondsToNanoSeconds, 1)
          );
  
      if ( EFI_ERROR( Status ) )
      {
          Print( L&quot;Set Timer Error! \r\n&quot; );
          return(2);
      }
  
      while (1 )
      {       
          // do something
      }
      
      // cancel timer
      gBS-&gt;SetTimer( TimerOne, TimerCancel, 0 );
      gBS-&gt;CloseEvent( TimerOne );    
  
      return EFI_SUCCESS;
  }
  
  </code></pre>
  <p>if I create two timer, I will create another TimeoutSelf function. too.</p>