CVS log for linuxsampler/src/common/Condition.cpp |
|
Help |
Request diff between arbitrary revisions
* added a new config option --enable-pthread-testcancel, which uses pthread_testcancel() instead of asynchronous canceling (needed for OSX)
- fixed compilation error in Condition.cpp
* minor code refactoring of win32 Condition code * preparations for release 0.5.1
* win32 port work in progress: * - implemented win32 support in the following classes: * Thread, Condition, Mutex, Path, LscpServer * - lscp.y use DONTCARE instead of VOID * (a win32 symbol defined) * - completed win32 editor plugin loader
* code cleanup: - global.h now only covers global definitions that are needed for the C++ API header files, all implementation internal global definitions are now in global_private.h - atomic.h is not exposed to the C++ API anymore (replaced the references in SynchronizedConfig.h for this with local definitions) - no need to include config.h anymore for using LS's API header files - DB instruments classes are not exposed to the C++ API - POSIX callback functions of Thread.h are hidden - the (optional) gig Engine benchmark compiles again - updated Doxyfile.in - fixed warnings in API doc generation * preparations for release 0.5.0
* fixed several issues in fundamental "Thread" class: set scheduling policy and priority on thread level, set a minimum stack size for thread (TODO: a reasonable value yet to be tested), bugfix: non-RT threads simply inherited properties of starting thread instead of setting their own policy and priority * updated and fixed test cases (haven't been touched in a while, but are now all running successfully through all cases)
just some refactoring work: - renamed class LinuxSamplerException -> Exception - encapsulated LS API relevant files into LS namespace - removed unnecessary header inclusions
* fixed a bug in the low-level thread synchronizing code, that made loading of very small gig files sometimes fail
* src/common/Thread.cpp: threads are now stoppable even if they are waiting for a condition * src/common/Condition.cpp: fixed little misbehavior of Set() method, which locked the Condition object on return * src/testcases: added a couple of new unit tests (against classes 'Mutex', 'Condition' and 'Thread')
updated copyright header for 2004
* completely restructured source tree * implemented multi channel support * implemented instrument manager, which controls sharing of instruments between multiple sampler engines / sampler channels * created abstract classes 'AudioOutputDevice' and 'MidiInputDevice' for convenient implementation of further audio output driver and MIDI input driver for LinuxSampler * implemented following LSCP commands: 'SET CHANNEL MIDI INPUT TYPE', 'LOAD ENGINE', 'GET CHANNELS', 'ADD CHANNEL', 'REMOVE CHANNEL', 'SET CHANNEL AUDIO OUTPUT TYPE' * temporarily removed all command line options * LSCP server is now launched by default
| LinuxSampler Developers |
Powered by ViewCVS |