Difference between revisions of "Example pthread demo"

From wiki.emacinc.com
Jump to: navigation, search
(Created page with "{{todo|InProgress(11.14.13-15:09->JG+)|Jgreene|project=oe 4,oe 5,ky,md,InProgress}} <big>This procedure provides an overview of how to compile and run the ''pthread_demo'' C e...")
 
(2. Open the mcp4922_test project)
Line 4: Line 4:
 
====1. Open the ''C/C++'' editing perspective====
 
====1. Open the ''C/C++'' editing perspective====
  
====2. Open the ''mcp4922_test'' project====
+
====2. Open the ''pthread_demo'' project====
  
 
====3. Build, upload and run====
 
====3. Build, upload and run====

Revision as of 15:27, 14 November 2013

TODO: {{#todo:InProgress(11.14.13-15:09->JG+)|Jgreene|oe 4,oe 5,ky,md,InProgress}}

This procedure provides an overview of how to compile and run the pthread_demo C example project. It assumes familiarity with the C programming language and is intended to be used by experienced programmers who are looking to learn the EMAC SDK.

1. Open the C/C++ editing perspective

2. Open the pthread_demo project

3. Build, upload and run



What it does

This is a simple pthreads example application. A single thread is created to generate random data that is read by a specified number of reader threads.

Usage for pthread_demo

pthread_demo

ie: ./pthread_demo