Ignore:
Timestamp:
Apr 20, 2012, 2:44:50 PM (13 years ago)
Author:
g7moreau
Message:
  • Samll format change...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/signal-checkpoint/sgck-test1.f90

    r62 r63  
    1111program sgck-test1
    1212
    13   use Signal_Checkpoint, only: &
    14         signal_checkpoint_connect, &
    15         signal_checkpoint_is_received, &
    16         signal_checkpoint_received_times, &
    17         SIGUSR2
     13   use Signal_Checkpoint, only: &
     14      signal_checkpoint_connect, &
     15      signal_checkpoint_is_received, &
     16      signal_checkpoint_received_times, &
     17      SIGUSR2
    1818
    19   integer :: I
     19   integer :: I
    2020
    21   call signal_checkpoint_connect(SIGUSR2)
     21   call signal_checkpoint_connect(SIGUSR2)
    2222
    23   print *, "initialising phase"
     23   print *, "initialising phase"
    2424
    25   do while (.not. signal_checkpoint_is_received())
    26      do I = 1, 15
    27           print *, "runnning in the loop ", I, signal_checkpoint_received_times()
    28           call sleep (1)
    29      end do
    30   end do
     25   do while (.not. signal_checkpoint_is_received())
     26      do I = 1, 15
     27         print *, "runnning in the loop ", I, signal_checkpoint_received_times()
     28         call sleep (1)
     29      end do
     30   end do
    3131
    32   print *, "finishing phase"
     32   print *, "finishing phase"
    3333end program
Note: See TracChangeset for help on using the changeset viewer.