4.115
Last change
on this file since 9b4422a2 was
9b4422a2,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24
|
Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
-
Property mode set to
100644
|
File size:
854 bytes
|
Rev | Line | |
---|
[54e34e7] | 1 | /* Task_1 |
---|
| 2 | * |
---|
| 3 | * This routine serves as a test task. It verifies the basic task |
---|
| 4 | * switching capabilities of the executive. |
---|
| 5 | * |
---|
| 6 | * Input parameters: |
---|
| 7 | * argument - task argument |
---|
| 8 | * |
---|
| 9 | * Output parameters: NONE |
---|
| 10 | * |
---|
[08311cc3] | 11 | * COPYRIGHT (c) 1989-1999. |
---|
[54e34e7] | 12 | * On-Line Applications Research Corporation (OAR). |
---|
| 13 | * |
---|
[98e4ebf5] | 14 | * The license and distribution terms for this file may be |
---|
| 15 | * found in the file LICENSE in this distribution or at |
---|
[3c48599] | 16 | * http://www.rtems.com/license/LICENSE. |
---|
[54e34e7] | 17 | */ |
---|
| 18 | |
---|
[cafefbf] | 19 | #ifdef HAVE_CONFIG_H |
---|
| 20 | #include "config.h" |
---|
| 21 | #endif |
---|
| 22 | |
---|
[54e34e7] | 23 | #include "system.h" |
---|
| 24 | #include <time.h> |
---|
| 25 | #include <sched.h> |
---|
| 26 | |
---|
| 27 | void *Task_1( |
---|
| 28 | void *argument |
---|
| 29 | ) |
---|
| 30 | { |
---|
[76e9a52f] | 31 | /* |
---|
| 32 | * Detach ourselves so we don't wait for a join that won't happen. |
---|
| 33 | */ |
---|
| 34 | pthread_detach( pthread_self() ); |
---|
| 35 | |
---|
[54e34e7] | 36 | puts( "Task_1: exitting" ); |
---|
| 37 | pthread_exit( NULL ); |
---|
| 38 | |
---|
| 39 | return NULL; /* just so the compiler thinks we returned something */ |
---|
| 40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.