Commit 32d02c03 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files
parents 7b891e18 bb95d9e5
...@@ -3,11 +3,30 @@ BLC program ...@@ -3,11 +3,30 @@ BLC program
Library providing command line program facilities Library providing command line program facilities
- Parsing arguments - 1. Parsing arguments
- Interacting with the user in a terminal - 2. Interacting with the user in a terminal
BLC program
============ Program main loop
=================
**BLC_COMMAND_LOOP**(period in micro seconds)
- Eventually acquires the profiling data.
- Check if it is the iteration limit and pauses in this case.
- Wait for the keyboard or the waiting semaphores
- Ready to start, updates the timer
{
Your computation
}
- Compute the time of the loop
- Post the enventual posting semaphores
- Eventually wait for more time (if it has been faster than the requested period )
Tutorial
========
Exemple based on **t_parse_arguments** Exemple based on **t_parse_arguments**
------------------------------------------------ ------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment