     Threads::Suspend lock;
     save_p = p1;
     delayx(500);
-    if (save_p == p1) Serial.println("OK"); 
+    if (save_p == p1) Serial.println("OK");
     else Serial.println("***FAIL***");
   }
 
   Serial.print("Test basic unlock ");
   delayx(500);
-  if (save_p != p1) Serial.println("OK"); 
+  if (save_p != p1) Serial.println("OK");
   else Serial.println("***FAIL***");
 
 

  delayx(500);
  save_p = p3;
  delayx(500);
  if (p3 != 0 && p3 == save_p) Serial.println("OK"); 
  else Serial.println("***FAIL***");

  Serial.print("Test basic lock ");

  uint32_t mx = millis();
  while(millis() - mx < 500) p1++;
  m->unlock();
}

Threads::Mutex count_lock;
int count1 = 0;
int count2 = 0;
int count3 = 0;

void lock_test1() {
  Threads::Scope s(count_lock);
  count1++;
}

void lock_test2() {
  Threads::Scope s(count_lock);
  count2++;
}

void lock_test3() {
  Threads::Scope s(count_lock);
  count3++;
}

void showp() {
