Thread contention occurs when two or more threads try to access the same resource simultaneously and cause the runtime to execute one or more threads:
Starvation and livelock are forms of thread contention.