Browse Source

build fix

Adam Ierymenko 6 years ago
parent
commit
4e4b27b6ab
1 changed files with 0 additions and 1 deletions
  1. 0 1
      node/Mutex.hpp

+ 0 - 1
node/Mutex.hpp

@@ -36,7 +36,6 @@ public:
 	{
 		const uint16_t myTicket = __sync_fetch_and_add(&(const_cast<Mutex *>(this)->nextTicket),1);
 		while (nowServing != myTicket) {
-			pthread_yield_np();
 			__asm__ __volatile__("rep;nop"::);
 			__asm__ __volatile__("":::"memory");
 		}