8 Jun 2012 12:42
Re: Jack Fifo vs pthread_condvar ?
Paul Davis <paul <at> linuxaudiosystems.com>
2012-06-08 10:42:40 GMT
2012-06-08 10:42:40 GMT
On Fri, Jun 8, 2012 at 4:30 AM, <cucinotta <at> sssup.it> wrote:
posix fifos and posix semaphores are equally portable, which is to say, not 100%. moreover, on some posix OS's (e.g. OS X), posix synchronization APIs are notably slower than using lower level primitives such as Mach semaphores. the same observation applies to Linux, where futexes are faster than pthread cond vars.
> Last question: how many synchro objs are there per client, so far ?
1
Thx. Pthread cond vars rely on futexes in the end, plus they would portable across posix OS right ?
posix fifos and posix semaphores are equally portable, which is to say, not 100%. moreover, on some posix OS's (e.g. OS X), posix synchronization APIs are notably slower than using lower level primitives such as Mach semaphores. the same observation applies to Linux, where futexes are faster than pthread cond vars.
> Last question: how many synchro objs are there per client, so far ?
1
_______________________________________________ Jack-Devel mailing list Jack-Devel <at> lists.jackaudio.org http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
RSS Feed