Commit graph

8 commits

Author SHA1 Message Date
Andrew Kelley ee7c0d3e11 convert source code to pure C
List<T> is now a really ugly macro.

Added a workaround for jack.h not putting `void` in function
prototypes for functions that take no arguments. I made upstream
pull requests to jack1 and jack2 but I don't have high hopes
about them getting merged.

I removed the lock-free atomic asserts. clang reports
non-lock-free atomics when in fact it does have lock-free
atomics. I inspected the generated code for gcc and clang
for fetch_add, load, and store, on x86_64 and armhf, and
it's all lock free.

Closes #45.
2015-11-10 02:24:18 -07:00
Andrew Kelley 3b49292897 use hidden visibility by default and explicitly export
Also don't expose os functions.
And do the dllexport/dllimport thing.
2015-08-20 14:48:19 -07:00
Andrew Kelley 860370d859 rename examples, install them, and correct #include path 2015-07-30 14:16:22 -07:00
Andrew Kelley 2a70bdb745 add a test for underflow handling and expose os API 2015-07-30 12:07:58 -07:00
Andrew Kelley 85549b59b7 ring buffer: fewer mallocs during init 2015-07-27 15:29:10 -07:00
Andrew Kelley db8eca47ab fix not freeing mirrored memory on Windows 2015-07-21 11:11:32 -07:00
Andrew Kelley 5048d7aa57 ring buffer works on windows 2015-07-06 16:02:20 -07:00
Andrew Kelley a69ff6025c add and export a ring buffer implementation 2015-07-06 01:05:22 -07:00