concurrency 358

  1. When and how should I use a ThreadLocal variable?
  2. What is the difference between concurrency and parallelism?
  3. Collection was modified; enumeration operation may not execute
  4. What is a race condition?
  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. Is there an advantage to use a Synchronized Method instead of a Synchronized Block?
  11. Why there is no ConcurrentHashSet against ConcurrentHashMap
  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. How is Node.js inherently faster when it still relies on Threads internally?
  17. Is “Java Concurrency In Practice” still valid?
  18. Custom thread pool in Java 8 parallel stream
  19. What is meant by “thread-safe” code?
  20. What is a semaphore?
  21. Is AsyncTask really conceptually flawed or am I just missing something?
  22. Why use a ReentrantLock if one can use synchronized(this)?
  23. SET NOCOUNT ON usage
  24. Volatile Vs Static in java
  25. What is the Haskell response to Node.js?
  26. Why must wait() always be in synchronized block
  27. What is the most frequent concurrency issue you've encountered in Java?
  28. What's the status of multicore programming in Haskell?
  29. What's the difference between Thread start() and Runnable run()
  30. Java volatile reference vs. AtomicReference
  31. When would you call java's instead of thread.start()?
  32. Is it safe to get values from a java.util.HashMap from multiple threads (no modification)?
  33. Is HttpClient safe to use concurrently?
  34. What is a deadlock?
  35. AtomicInteger lazySet vs. set
  36. ConcurrentModificationException and a HashMap
  37. What is a memory fence?
  38. When to use volatile with multi threading?
  39. How/why do functional languages (specifically Erlang) scale well?
  40. how to know what is NOT thread-safe in ruby?
  41. CountDownLatch vs. Semaphore
  42. Is there a way for multiple processes to share a listening socket?
  43. What is a database transaction?
  44. How to interrupt a BlockingQueue which is blocking on take()?
  45. Django: How can I protect against concurrent modification of database entries
  46. How to asynchronously call a method in Java
  47. Any good implementation of Actors for C#?
  48. Is a bool read/write atomic in C#
  49. ConcurrentModificationException for ArrayList
  50. Only inserting a row if it's not already there