pipe
pipe copied to clipboard
A simple thread-safe FIFO in C.
It seems if producers/consumers are writing/reading (i.e., changing content of buffer) very quickly, we get a situation where the pipe (data) is "clobbered" somehow resulting in crash. This doesn't seem...
please fix your memory leaks YOUR Master branch ```C++ valgrind --leak-check=full --show-leak-kinds=all -s --track-origins=yes ./pipe_debug ==325637== Memcheck, a memory error detector ==325637== Copyright (C) 2002-2017, and GNU GPL'd, by Julian...
Any way of blocking pipe_push if the pipe is full?
Hi, I'm trying to use pipe.c as the underlying mechanism for a Java InputStream in a JNI project. All good - but I need a way to get the number...
Without the restrict keywords, the code seems to compile and run ok using Visual Studio 2015. How critical is the use of the restrict keyword?