[LAD] Noob Q: Pthreads the way to go?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Friday, November 13, 2009 - 2:15 am

--0016e6daa82bb831420478373b91
Content-Type: text/plain; charset=ISO-8859-1

Hey guys,

I've been doing some reading around the internet about Object Orierientated
Program designing,
got a OOP design
book,
yet still I'm confused on how to approach designing a "large" program.

That's the background to this question: Is mutex locking the only way to
ensure that variables are only
being accessed by one thread at a time? Is it the "right" way to go about
it?

I've seen quite some strong opinions around the internet on how RT threading
should be done,
however I still am not fully sure if PosixThreads is the way to go, (due to
windows not supporting it).

I've googled for "c++ cross-platform threading" which returned this
post.
I've not yet fully understood it,
but I'm also slightly afraid that Ill be learning a bad habit rather than
how to use a good threading lib!

Any advice on where to start? Cheers, -Harry

--0016e6daa82bb831420478373b91
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hey guys,I've been doing some reading around the internet about=
Object Orierientated Program designing,got a OOP design book=
, yet still I'm confused on how to approach designing a "large&quo=
t; program.
That's the background to this question: Is mutex locking the only w=
ay to ensure that variables are onlybeing accessed by one thread at a t=
ime? Is it the "right" way to go about it?I've seen q=
uite some strong opinions around the internet on how RT threading should be=
done,
however I still am not fully sure if PosixThreads is the way to go, (due to=
windows not supporting it).I've googled for "c++ cross-pl=
atform threading" which returned this post. I've not yet fully unders=
tood it,
but I'm also slightly afraid that Ill be learning a bad habit rather th=
an how to use a good threading lib!Any advice on where to start? Ch=
eers, -Harry

--0016e6daa82bb831420478373b91--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Noob Q: Pthreads the way to go?, Harry Van Haaren, (Fri Nov 13, 2:15 am)
Re: [LAD] Noob Q: Pthreads the way to go?, Harry Van Haaren, (Sun Nov 15, 12:01 am)
Re: [LAD] Noob Q: Pthreads the way to go?, Jussi Laako, (Fri Nov 13, 11:48 am)
Re: [LAD] Noob Q: Pthreads the way to go?, Markus Schwarzenberg, (Fri Nov 13, 7:57 am)
Re: [LAD] Noob Q: Pthreads the way to go?, Raymond Martin, (Fri Nov 13, 10:13 am)