Changeset 436 for trunk/user/pgcd/pgcd.c


Ignore:
Timestamp:
Mar 7, 2018, 9:02:03 AM (7 years ago)
Author:
alain
Message:

1) improve the threads and process destruction mechanism.
2) introduce FIFOs in the soclib_tty driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/user/pgcd/pgcd.c

    r434 r436  
    99
    1010#include <stdlib.h>
     11#include <stdio.h>
    1112
    1213
     
    1415void main()
    1516{
    16     int opx;
    17     int opy;
     17    int                opx;
     18    int                opy;
     19    unsigned long long cycle;
    1820
    19     printf( "*** Starting interactive pgcd ***\n\n" );
     21    get_cycle( &cycle );
     22    printf( "\n[PGCD] starts / cycle %d\n", (unsigned int)cycle );
    2023
    2124    while (1)
Note: See TracChangeset for help on using the changeset viewer.