mpv/misc
wm4 782e428284 misc: add linked list helpers
This provides macros for managing intrusive doubly linked lists.

There are many ways how to do those in a "generic" way in C. For example
Solaris style lists are pretty nice:

https://github.com/illumos/illumos-gate/blob/master/usr/src/uts/common/sys/list.h
https://github.com/illumos/illumos-gate/blob/master/usr/src/common/list/list.c

I even have an independent implementation of this, which could be ISC
licensed. But I think it's easier to vomit ~100 lines of preprocessor
garbage, which has a lower footprint, and I think it wins slightly on
the side of type safety, simplicity, and ease of use, even if it doesn't
look as magically nice.
2018-05-24 19:56:35 +02:00
..
bstr.c vo_opengl: support loading custom user textures 2017-07-27 23:51:05 +02:00
bstr.h bstr: short-circuit bstr_equals on pointer equality 2017-08-03 21:48:25 +02:00
charset_conv.c
charset_conv.h
ctype.h
dispatch.c dispatch: add an assert() 2018-05-24 19:56:33 +02:00
dispatch.h player: remove in_dispatch field 2018-04-18 01:17:42 +03:00
json.c json: add some non-standard extensions 2018-05-24 19:56:34 +02:00
json.h m_option: pretty print mpv_node for OSD 2017-10-30 15:32:24 +01:00
linked_list.h misc: add linked list helpers 2018-05-24 19:56:35 +02:00
node.c misc: move some helper code from client.c 2018-05-24 19:56:34 +02:00
node.h misc: move some helper code from client.c 2018-05-24 19:56:34 +02:00
rendezvous.c
rendezvous.h
ring.c
ring.h
thread_pool.c thread_pool: set thread name 2018-05-24 19:56:34 +02:00
thread_pool.h thread_pool: make it slightly less dumb 2018-05-24 19:56:34 +02:00
thread_tools.c thread_tools: minor simplification 2018-05-24 19:56:35 +02:00
thread_tools.h misc: move mp_cancel from stream.c to thread_tools.c 2018-05-24 19:56:35 +02:00