In Brief

  • Parallel execution can be implemented with threads.

  • Threads can be synchronized with each other to avoid conflicts.

  • Different priorities can be assigned to a thread.

  • Mono does not currently support priorities.

  • To avoid race conditions, locks must be used.

  • Mutexes are used to synchronize threads and to perform mutual exclusion.

  • Synchronizing threads is all about locking and waiting.

Get Mono Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.