Questions tagged [concurrency]

Questions related to teaching concurrency and concurrent programming, as well as teaching various methods of creating concurrent operations.

Filter by
Sorted by
Tagged with
1 vote
0 answers
84 views

Multithreading in Programming modules

Bit of a flimsy question, but here goes... My understanding is that multithreading is now a staple of the vast majority of university comp sci programming modules (where the programming language being ...
18 votes
10 answers
4k views

How to respond to the two-handed approach to swapping

I was introducing lists to someone young (in Scratch). Creating a list is boring, so I opted to introduce something that you can do with lists, but requires some thinking: swapping. I introduced it by ...
2 votes
0 answers
77 views

introduction materials to the actor model?

I am looking for some introductions to the actor model. I don't mind books in specific programming languages, as long as they don't distract away or restrict the presentation of the model Is this a ...
6 votes
5 answers
3k views

Could you recommend books on concurrent programming?

I am self-learning concurrent programming. I have some experience with concurrent programming. Have self learned OS and programming. There are both programming languages and libraries that provide ...
10 votes
5 answers
156 views

When should concurrency and parallel multi-processing concepts be introduced?

Given the current trends with Moore's law and computer systems design, where even the cheapest cell phones and Raspberry Pi's, etc., are multi-threaded multi-processors, and any gains in performance (...
7 votes
2 answers
455 views

Why is the critical-section problem always presented with code in infinite loops?

I've noticed that "all" OS textbooks present the Critical-Section Problem with examples of code that are in infinite loops. E.g., ...