/[svn]/linuxsampler/trunk/src/common/WorkerThread.cpp
ViewVC logotype

Log of /linuxsampler/trunk/src/common/WorkerThread.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 3766 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 6 12:41:49 2020 UTC (4 years ago) by schoenebeck
File length: 3510 byte(s)
Diff to previous 2427
Fixed deadlocks (e.g. when restarting engines).

* Individual thread implementations (e.g. disk thread, etc.):
  Disable thread cancellation on critical sections, e.g. when holding
  mutex locks, to prevent deadlocks if thread is stopped and/or
  restarted.

* Added TestCancel() calls to thread implementations if missing.

* No need to wrap Thread::TestCancel() calls into
  CONFIG_PTHREAD_TESTCANCEL macro conditions (since TestCancel() is
  already a stub on systems which don't have pthread_testcancel()
  available).

* If compiled for debugging: give each thread a human readable name
  to simplify debugging of multi-threading issues.

* DiskThreadBase: TestCancel() and pthread_testcancel() calls are
  per-se redundant, so only call TestCancel().

* Added missing override keywords to silent compiler warnings.

* Bumped version (2.1.1.svn54).


Revision 2427 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 2 07:03:04 2013 UTC (11 years, 1 month ago) by persson
File length: 3105 byte(s)
Diff to previous 1895
* code refactoring: added a lock guard class for exception safe mutex
  handling and used it everywhere appropriate


Revision 1895 - (view) (download) (annotate) - [select for diffs]
Modified Sun May 3 12:15:40 2009 UTC (14 years, 11 months ago) by persson
File length: 3118 byte(s)
Diff to previous 1649
* fixes for using large audio device buffers
* VST: added support for sample rate and buffer size changes
* VST: close editor (Fantasia) when the VST is removed
* minor fix in configure for mmsystem.h detection on MinGW
* removed warnings from gcc 4.4 and valgrind


Revision 1649 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 25 15:06:02 2008 UTC (16 years, 3 months ago) by nagata
File length: 3100 byte(s)
Diff to previous 1222
* added a new config option --enable-pthread-testcancel, which uses
pthread_testcancel() instead of asynchronous canceling (needed for OSX)


Revision 1222 - (view) (download) (annotate) - [select for diffs]
Modified Sun Jun 10 06:54:54 2007 UTC (16 years, 10 months ago) by persson
File length: 3043 byte(s)
Diff to previous 1200
* small fix for previous Thread change: don't try to change static
  priority for non-RT threads


Revision 1200 - (view) (download) (annotate) - [select for diffs]
Added Thu May 24 14:04:18 2007 UTC (16 years, 11 months ago) by iliev
File length: 3047 byte(s)
* Implemented instrument scanning in background
  and commands for monitoring the scan progress


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC