[openbeos] BeOS API, C and thread-safe programming
- From: "Stefano D'Angelo" <zanga.mail@xxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Tue, 1 May 2007 00:29:49 +0200
Hi all,
as I already said on this ml I'm developing a framework for signal
processing (particularly audio).
I'm currenlty splitting the OS-dependent part from the functional
part, so that it can be easily ported to other OSes than POSIX ones
and/or allow use of advanced/non-standard features of each OS nicely.
This part of code actually deals with thread synchronization,
filesystem policies, maybe also i18n/l10n and other stuff.
The problem is that I'm writing it in strict ANSI C and, although I
have intention to write some C++ glue code for using it, it would be
better to access the BeOS API directly from C. Is that possible?
Then, I really would like to know about Haiku's threading model, since
it is said to be very good and efficient (I don't think using pthreads
on it is the best option). Can someone give me some points on that?
(for example I couldn't find references to mutexes on the BeBook...)
Thanks in advance,
Stefano
Other related posts: