beginner (9)
c plus plus (5)
c sharp (1)
closure (1)
cocoapods (1)
const correctness (1)
deadlocks (1)
delegates (1)
events (2)
forms (1)
inline functions (1)
ios (3)
javascript (11)
jccc (6)
multithreading (2)
mutable (1)
react (1)
react native (1)
security (1)
singletons (1)
ssl (1)
this (1)
virtual functions (1)
web admin (1)
-
Don't Tie Your Threads in Knots
One thing to remember about threads: they're never polite. Ever.
Threads never move themselves out of the way for other threads. When threads contend for a single resource this is not a great concern, but occasionally a situation arises where multiple threads contend for simultaneous access to multiple resources.
-
More Than Resource Contention
One of the first things we learn about multithreaded programming is the need to guard against simultaneous read-write access to shared resources, but this isn't always a simple matter.