Skip to content
Snippets Groups Projects
Commit 29d0c8d8 authored by rswindell's avatar rswindell
Browse files

Removed YIELD calls completely.

parent 7a070b89
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,6 @@
#include LOCKED_DATA_SEGMENT
#endif
#include "genwrap.h" /* YIELD() */
#include "ringbuf.h"
#ifdef RINGBUF_USE_STD_RTL
......@@ -187,8 +186,6 @@ DWORD RINGBUFCALL RingBufWrite( RingBuf* rb, BYTE* src, DWORD cnt )
pthread_mutex_unlock(&rb->mutex);
#endif
YIELD();
return(cnt);
}
......@@ -197,8 +194,6 @@ DWORD RINGBUFCALL RingBufRead( RingBuf* rb, BYTE* dst, DWORD cnt )
{
DWORD max, first, remain, len;
YIELD();
len = RingBufFull( rb );
if( len == 0 )
return(0);
......@@ -249,8 +244,6 @@ DWORD RINGBUFCALL RingBufPeek( RingBuf* rb, BYTE* dst, DWORD cnt)
{
DWORD max, first, remain, len;
YIELD();
len = RingBufFull( rb );
if( len == 0 )
return(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment