[vlc-devel] [PATCH v2 0/8] New executor API

Romain Vimont rom1v at videolabs.io
Sun Sep 13 21:11:13 CEST 2020


Changes from patchset v1:
 - move unit tests from test/ moved to src/test
 - other minor changes after v1 review
 - remove vlc_clone_detach()
 - add executor design documentation/discussion

Rendered doc: https://code.videolan.org/rom1v/vlc/-/blob/executor.v2/doc/executor.md
Branch: https://code.videolan.org/rom1v/vlc/commits/executor.v2
Patchset v1: https://mailman.videolan.org/pipermail/vlc-devel/2020-September/137188.html

Romain Vimont (8):
  executor: introduce new executor API
  executor: add unit tests
  preparser: use vlc_executor_t
  fetcher: use vlc_executor_t
  thumbnailer: use vlc_executor_t
  misc: remove background_worker
  threads: remove vlc_clone_detach()
  executor: add design documentation

 doc/executor.md              | 256 ++++++++++++++++++++++
 include/vlc_executor.h       | 183 ++++++++++++++++
 src/Makefile.am              |   6 +-
 src/input/thumbnailer.c      | 391 +++++++++++++++++++---------------
 src/libvlc.h                 |   3 -
 src/libvlccore.sym           |   5 +
 src/misc/background_worker.c | 363 -------------------------------
 src/misc/background_worker.h | 203 ------------------
 src/misc/executor.c          | 288 +++++++++++++++++++++++++
 src/os2/thread.c             |  10 -
 src/posix/thread.c           |  35 ---
 src/preparser/fetcher.c      | 379 ++++++++++++++++++---------------
 src/preparser/preparser.c    | 401 ++++++++++++++++++++++-------------
 src/test/executor.c          | 282 ++++++++++++++++++++++++
 src/win32/thread.c           |  10 -
 15 files changed, 1698 insertions(+), 1117 deletions(-)
 create mode 100644 doc/executor.md
 create mode 100644 include/vlc_executor.h
 delete mode 100644 src/misc/background_worker.c
 delete mode 100644 src/misc/background_worker.h
 create mode 100644 src/misc/executor.c
 create mode 100644 src/test/executor.c

-- 
2.28.0



More information about the vlc-devel mailing list