Загрузка страницы

Mutex Synchronization in Linux with Pthreads

Demo of using threads in Linux (pthreads) to run very simple processing in parallel. Uses a mutex (pthread_mutex) to synchronize the processing to avoid a race condition.

Topics:
- Timing the process without using threads (Linux time command)
- Switching processing to new threads
- Running multiple threads without a mutex lock (race condition)
- Solving a race condition
- Timing the multi-threaded version
- Common problem when passing arguments to a thread
- Common problem spotting race conditions

Links:
Create a single thread: http://youtu.be/ynCc-v0K-do
Eclipse Setup: http://youtu.be/E36QpJdEghg
Linux programming play-list: https://www.youtube.com/watch?v=E36QpJdEghg&list=PL-suslzEBiMrqFeagWE9MMWR9ZiYgWq89

Видео Mutex Synchronization in Linux with Pthreads канала Brian Fraser
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
25 февраля 2015 г. 0:23:24
00:25:07
Яндекс.Метрика