File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 220220\begin {slide }
221221\sltitle {Synchronization mechanisms}
222222\begin {itemize }
223- \item theoretical solution -- mutual exclusive algorithms (Dekker
223+ \item theoretical solution -- mutual exclusion algorithms (Dekker
2242241965, Peterson 1981)
225225\item interrupt disable (1 CPU), special \emph {test-and-set } instructions
226226\item \emsl {lock-files}
227227\item tools offered by the operating system:
228228 \begin {itemize }
229229 \item \emsl {semaphores} (POSIX, System V IPC)
230- \item \emsl {file level locking} (\texttt {fcntl() }, \texttt {flock() })
230+ \item \emsl {file level locking} (\texttt {fcntl() }, \texttt {flock() })
231231 \item thread synchronization: \emsl {mutexes} (surround critical sections,
232232 only one thread can hold the mutex), \emsl {condition variables}
233233 (the thread is blocked until another thread signals condition change)
You can’t perform that action at this time.
0 commit comments