[beast: 69/95] Merge branch 'rapicorn-threading'



commit 4b1a8ce8f350d3e7dccb928f2ba3c117757819f5
Merge: 033ba2f bfb8d8c
Author: Tim Janik <timj gnu org>
Date:   Wed Mar 20 14:15:08 2013 +0100

    Merge branch 'rapicorn-threading'
    
    * rapicorn-threading:
      BST: remove unused dummy file
      SFI: use Bse::Cond, Bse::Mutex
      BSE: use Bse::Mutex
      PLUGINS: use Bse::ScopedLock
      BSE: use Bse::ScopedLock
      SFI: introduce Bse::ScopedLock
      SFI: remove Birnet threading uses
      BIRNET: remove birnet threading implementation, use std and Rapicorn
      BST: use Rapicorn thread methods for thread name and id
      BSE: use Rapicorn thread methods for thread name and setting priority
      BSE: use recursive Rapicorn Mutex for engine nodes
      BSE: remove mutex locking helpers
      BSE: port pcm device, pcm writer and storage to Rapicorn Mutex
      BSE: port midi receiver to Rapicorn Mutex
      BSE: port engine to Rapicorn Mutex and Cond
      BIRNET: birnetdebugtools: port debug channel to std::thread
      BIRNET: birnetmsg: use Rapicorn threading functions
      BIRNET: eliminate old thread wakeups
      BSE: gslfilehash: use Rapicorn Mutex.
      BSE: gsldatahandle: use Rapicorn Spinlock.
      BSE: gsldatacache: use Rapicorn Mutex, Spinlock, Cond.
      BSE: move init functions to bsecore, pass wakeup lambdas to sfi_com_port
      SFI: sfiwrapper: provide Bse::AsyncBlockingQueue.
      SFI: sfimemory: use Rapicorn::Mutex
      SFI: store glue context on Rapicorn::ThreadInfo::self
      SFI: sfiwrapper.hh: introduce some Rapicorn symbols via using to help transition
      BSE: port engine master thread to std::thread
      BSE: use bse_main_wakeup() to wakeup main BSE thread
      BSE: use EventFd for Sequencer wakeups
      BSE: remove unused bse_engine_get_threads
      BSE: fully port Sequencer to C++ and std::thread
      BST: profiler: display stats from Bse::TaskRegistry & Rapicorn::TaskStatus
      BST: register main thread with Bse::TaskRegistry
      BSE: eliminate ThreadInfo & ThreadState, register threads with TaskRegistry
      BSE: bsecore: new files for public BSE API, introduce TaskRegistry
      BSE: rename bsebasics.idl (from bsecore)
      BSE: document Procedure namespace
      TOOLS: document namespaces
      PLUGINS: document namespaces
      SFI: document namespaces
      BST: port thread profiling to Rapicorn::TaskStatus
      BST: guard against missing thread stats for main BSE thread
      BSE: port core thread to std::thread
      BSE: prevent messing with std::terminate
      BSE: add TickStamp class, use Bse::TickStamp instead of old gsl API

 beast-gtk/Makefile.am               |    2 +-
 beast-gtk/bstcxxutils.cc            |    4 +-
 beast-gtk/bstdefs.hh                |    4 +
 beast-gtk/bstmain.cc                |   37 +-
 beast-gtk/bstprofiler.cc            |  165 +---
 beast-gtk/bstusermessage.cc         |    4 +-
 beast-gtk/testgui.cc                |    7 +-
 birnet/Makefile.am                  |    3 -
 birnet/birnet.hh                    |    1 -
 birnet/birnetcdefs.h                |  134 ---
 birnet/birnetdebugtools.cc          |   43 +-
 birnet/birnetmsg.cc                 |   55 +-
 birnet/birnetmsg.hh                 |    4 +-
 birnet/birnetthread.cc              |  284 ------
 birnet/birnetthread.hh              |  323 -------
 birnet/birnetthreadimpl.cc          | 1625 -----------------------------------
 birnet/birnetutils.cc               |   30 +-
 birnet/birnetutils.hh               |  106 +---
 birnet/tests/datalist.cc            |    8 -
 birnet/tests/threads.cc             | 1101 ------------------------
 bse/Makefile.am                     |   36 +-
 bse/bse.hh                          |   12 +-
 bse/bse.idl                         |    2 +-
 bse/bsebasics.cc                    |   16 +
 bse/{bsecore.idl => bsebasics.idl}  |   39 -
 bse/bsebusmodule.idl                |    2 +-
 bse/bsecore.cc                      |   75 ++-
 bse/bsecore.hh                      |   30 +
 bse/bsecxxbase.idl                  |    2 +-
 bse/bsecxxplugin.hh                 |    4 +-
 bse/bsecxxutils.cc                  |   39 +-
 bse/bsecxxutils.hh                  |    3 +-
 bse/bseengine.cc                    |  135 ++--
 bse/bseengine.hh                    |    5 +-
 bse/bseenginemaster.cc              |   82 +-
 bse/bseenginemaster.hh              |   21 +-
 bse/bseenginenode.hh                |   14 +-
 bse/bseengineschedule.cc            |    4 +-
 bse/bseengineutils.cc               |  107 +--
 bse/bseengineutils.hh               |    1 -
 bse/bsemain.cc                      |  140 ++--
 bse/bsemain.hh                      |   27 +-
 bse/bsemididevice-oss.cc            |    4 +-
 bse/bsemidinotifier.cc              |    3 +-
 bse/bsemidireceiver.cc              |   19 +-
 bse/bsemidireceiver.hh              |    4 +-
 bse/bsepart.cc                      |    2 +-
 bse/bsepcmdevice-null.cc            |    6 +-
 bse/bsepcmdevice.cc                 |   27 +-
 bse/bsepcmdevice.hh                 |    2 +-
 bse/bsepcmwriter.cc                 |   23 +-
 bse/bsepcmwriter.hh                 |    2 +-
 bse/bseprobe.cc                     |   69 +--
 bse/bseprobe.idl                    |    4 +-
 bse/bseproject.cc                   |    6 +-
 bse/bseresampler.hh                 |    2 +
 bse/bsesequencer.cc                 |  361 ++++-----
 bse/bsesequencer.hh                 |   70 ++-
 bse/bseserver.cc                    |   11 +-
 bse/bsesong.cc                      |    4 +-
 bse/bsesong.proc                    |    2 +-
 bse/bsetrack.cc                     |    2 +-
 bse/bsewaveosc.cc                   |    2 +-
 bse/gslcommon.cc                    |  194 +++--
 bse/gslcommon.hh                    |   60 +-
 bse/gsldatacache.cc                 |  106 ++--
 bse/gsldatacache.hh                 |    2 +-
 bse/gsldatahandle.cc                |   54 +-
 bse/gsldatahandle.hh                |    2 +-
 bse/gslfilehash.cc                  |   43 +-
 bse/gslfilehash.hh                  |    2 +-
 drivers/bsemididevice-alsa.cc       |    4 +-
 plugins/bseamplifier.idl            |    9 +-
 plugins/bsecontribsampleandhold.idl |    5 +-
 plugins/davorgan.cc                 |   10 +-
 plugins/standardsaturator.idl       |    6 +-
 po/POTSCAN                          |    2 +-
 sfi/sficomport.cc                   |   55 +-
 sfi/sficomport.hh                   |   44 +-
 sfi/sficxx.hh                       |    2 +
 sfi/sfidl-utils.hh                  |    5 +-
 sfi/sfiglue.cc                      |   33 +-
 sfi/sfimemory.cc                    |   14 +-
 sfi/sfimemory.hh                    |    1 -
 sfi/sfiwrapper.cc                   |   21 +-
 sfi/sfiwrapper.hh                   |  114 +---
 sfi/tests/misctests.cc              |  121 +---
 shell/bsescm.cc                     |   11 +-
 tests/bse/cxxbinding.cc             |    4 +-
 tests/perftest.cc                   |    6 +-
 tools/bsewavetool.cc                |    2 +
 91 files changed, 1238 insertions(+), 5055 deletions(-)
---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]