concurrency 421

  1. When and how should I use a ThreadLocal variable?
  2. What is the difference between concurrency and parallelism?
  3. What is a race condition?
  4. Collection was modified; enumeration operation may not execute
  5. Is JavaScript guaranteed to be single-threaded?
  6. What's the difference between ConcurrentHashMap and Collections.synchronizedMap(Map)?
  7. Do you ever use the volatile keyword in Java?
  8. What is a mutex?
  9. NSOperation vs Grand Central Dispatch
  10. Why there is no ConcurrentHashSet against ConcurrentHashMap
  11. Is there an advantage to use a Synchronized Method instead of a Synchronized Block?
  12. What is a good pattern for using a Global Mutex in C#?
  13. How to wait for all threads to finish, using ExecutorService?
  14. Lock, mutex, semaphore… what's the difference?
  15. What is the difference between concurrent programming and parallel programming?
  16. Custom thread pool in Java 8 parallel stream
  17. What is a semaphore?
  18. What is meant by “thread-safe” code?
  19. How is Node.js inherently faster when it still relies on Threads internally?
  20. Is “Java Concurrency In Practice” still valid?
  21. Is AsyncTask really conceptually flawed or am I just missing something?
  22. SET NOCOUNT ON usage
  23. Why use a ReentrantLock if one can use synchronized(this)?
  24. Volatile Vs Static in java
  25. Why must wait() always be in synchronized block
  26. What is the Haskell response to Node.js?
  27. How does LMAX's disruptor pattern work?
  28. Why does this Java program terminate despite that apparently it shouldn't (and didn't)?
  29. multiprocessing.Pool: When to use apply, apply_async or map?
  30. What is the Swift equivalent to Objective-C's “@synchronized”?
  31. Volatile boolean vs AtomicBoolean
  32. What is the fastest way to send 100,000 HTTP requests in Python?
  33. What is the most frequent concurrency issue you've encountered in Java?
  34. Practical uses for AtomicInteger
  35. Is there a concurrent List in Java's JDK?
  36. What's the difference between Thread start() and Runnable run()
  37. What's the status of multicore programming in Haskell?
  38. When do I need to use AtomicBoolean in Java?
  39. Difference between Future and Promise
  40. Synchronization vs Lock
  41. Why is creating a Thread said to be expensive?
  42. Are non-synchronised static methods thread safe if they don't modify static class variables?
  43. iPhone - Grand Central Dispatch main thread
  44. Java concurrency: Countdown latch vs Cyclic barrier
  45. Is iterating ConcurrentHashMap values thread safe?
  46. Which parallel sorting algorithm has the best average case performance?
  47. Good example of livelock?
  48. Executors.newCachedThreadPool() versus Executors.newFixedThreadPool()
  49. Java volatile reference vs. AtomicReference
  50. Is HttpClient safe to use concurrently?