Re: [Linuxsampler-devel] Thread in OSX

2008-01-27 Thread Toshi Nagata
Andreas Persson wrote: > there's a (very small) risk for memory leaks when an Engine is deleted. > So, to me it seems like a testcancel in at least the DiskThread is > better than asynchrounus mode also for linux. In that case, it may be necessary to check AudioOutputDevice*.cpp sources to m

Re: [Linuxsampler-devel] Thread in OSX

2008-01-26 Thread Toshi Nagata
Stéphane Letz wrote: > Thread support has always been a source of problems on OSX but was > improved release after release. In the Darwin ML people are still discussing on this point even after release of 10.5... > Now that 10.5 Leopard is supposed to > be Unix compliant, I guess it shoul

Re: [Linuxsampler-devel] Thread in OSX

2008-01-26 Thread Stéphane Letz
>The problem seemed to be caused by the implementation of pthread in >OSX. It looks like OSX does not have PTHREAD_CANCEL_ASYNCHRONOUS cancel >type, although pthread_setcanceltype() does not result in an error. As a >workaround, I inserted calls to pthread_testcancel() here and there, and

Re: [Linuxsampler-devel] Thread in OSX

2008-01-25 Thread Andreas Persson
On 01/25/2008 04:30 PM, Toshi Nagata wrote: > The problem seemed to be caused by the implementation of pthread in > OSX. It looks like OSX does not have PTHREAD_CANCEL_ASYNCHRONOUS cancel > type, although pthread_setcanceltype() does not result in an error. As a > workaround, I inserted calls to

[Linuxsampler-devel] Thread in OSX

2008-01-25 Thread Toshi Nagata
Hi all, I have been trying to resolve a problem in the OSX build; the linuxsampler test (in src/testcases) did not pass. I noticed this issue only recently after I finally installed cppunit on my machine. The problem seemed to be caused by the implementation of pthread in OSX. It looks like O