Skip to content

WASamK/Serial_pthreadRW_pthreadMutex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Serial_pthreadRW_pthreadMutex

Perfromance comparison for a linked list implementation as a serial program, parallel program (based on Pthreads) with one mutex for the entire linked list and parallel program (based on Pthreads) with read-write locks for the entire linked list

Linked list as a Serial program File : serial.c Compile: gcc -g -Wall -o serial serial.c Run : ./serial

Linked list as a Parallel program with one mutex for the entire linked list File : pthreadMutex.c Compile: gcc -g -Wall -o pthreadMutex pthreadMutex.c -pthread Run : ./pthreadMutex

Linked list as a Parallel program with one mutex for the entire linked list File : pthreadRW.c Compile: gcc -g -Wall -o pthreadRW pthreadRW.c -pthread Run : ./pthreadRW

Results and conclusion : https://samadhipoornima.wordpress.com/category/projects/serial-pthreadrw-pthreadmutex/

About

Perfromance comparison for a linked list implementation as a serial program, parallel program (based on Pthreads) with one mutex for the entire linked list and parallel program (based on Pthreads) with read-write locks for the entire linked list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages