Exemplo n.º 1
0
 /// <summary>
 /// Block the current thread until it can safely modify the user interface.
 /// </summary>
 public void Lock()
 {
     GMshNativeMethods.gmshFltkLock(ref ierr);
     if (ierr != 0)
     {
         throw new GMshException(ierr);
     }
 }