Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Threading

Name: Anonymous 2009-08-26 3:42

I'm starting to learn about concurrency programming/threading and was wondering about some good resources to start this journey. Concurrency requires a different method of thinking about problems than standard serial code, I'm aware.

So far, I've picked up The Art of Concurrency from O'Reilly and I've been Googling a little (but to not much avail, it seems that threading isn't much of a hobby among programmers and I can see why).

Applications of threading that I would be interested in would be things like timer threading for network timeouts and keeping all the code aware of this happening, design patterns, algorithms, etc. Thank you in advance.

Name: Anonymous 2009-08-26 5:29

>>8
I understand the underlying mechanisms and theory behind threading. That doesn't mean I know how to use them effectively and make them play nice with one another.

Processes are typically scheduled as threads in modern OSes and processing is halted at arbitrary points with a snapshot of the state and then the OS gives control to other threads. These context switches can happen at any time and the same idea applies to threads within a process.

Understanding this is an imperative building block, but not the whole picture. If you knew anything about threading, you would know that it's a lot more complicated than "trivial." IHBT.

>>7
It's not that simple, there's a ping/pong mechanism that has additional processing beyond simply terminating the connection. What I'm trying to do is find material that would teach me more about threading in general so I might design my example construct in a way that would not cause race conditions.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List