Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 410 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 410 Bytes

EmbeddedSystemsClass

Repository for Embedded Systems class at School of Engeneering of São Carlos - USP

thread_ex01.c

Example of race condition: two threads update the same array

thread_ex02.c

Original: Brian Fraser (author)
Example of simple sum using thread.
Usage: thread_ex02 <num>

test_openmp.c

Simple example of OpenMP How to compile: gcc -fopenmp test_openmp.c -o test_openmp