kb.pub

Top/Computers/Programming/Threads - Musharof Chy

Showing 1 - 12 of 1000 Businesses

Use Thread Pools Correctly: Keep Tasks Short and Nonblocking

A thread pool hides a lot of details, but to use it effectively some awareness of some things a poo...

489 views

Break Up and Interleave Work to Keep Threads Responsive

Breaking up is hard to do, but interleaving can be even subtler.

102 views

Avoid Exposing Concurrency: Hide It Inside Synchronous Methods

Explains where to start when trying to add concurrency to a mass of existing code.

40 views

Prefer Structured Lifetimes: Local, Nested, Bounded, Deterministic

What's good for the function and the object is also good for the thread, the task, and the lock.

44 views

Practical Lock-Free Buffers

Looks at how lock-free programming avoids system failure by tolerating individual process failures.

600 views

Prefer Futures to Baked-In "Async APIs"

Explains that it's important to separate "what" from "how" when designing concurrent APIs.

254 views

Use Threads Correctly = Isolation + Asynchronous Messages

Motivates and illustrate best practices for using threads - techniques that will make concurrent co...

919 views

It's Not Always Nice To Share

It isn't just languages that have poor support for thread local storage, but operating systems too

485 views

Introduction to Priority Inversion

Gives an introduction to priority inversion and shows a pair of techniques to avoid them.

910 views

Fundamental Concepts of Parallel Programming

Explains fundamental concepts for moving from a linear to a parallel programming model

459 views

Real-world Concurrency

Describes some key principles that will help mastering the "black art" of writing multithreaded cod...

48 views

Lock-Free Code: A False Sense of Security

Writing lock-free code can confound anyone-even expert programmers, as Herb shows in this article.

220 views