Changeset 63 for trunk/signal-checkpoint/sgck-test1.f90
- Timestamp:
- Apr 20, 2012, 2:44:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/signal-checkpoint/sgck-test1.f90
r62 r63 11 11 program sgck-test1 12 12 13 use Signal_Checkpoint, only: &14 15 16 17 13 use Signal_Checkpoint, only: & 14 signal_checkpoint_connect, & 15 signal_checkpoint_is_received, & 16 signal_checkpoint_received_times, & 17 SIGUSR2 18 18 19 integer :: I19 integer :: I 20 20 21 call signal_checkpoint_connect(SIGUSR2)21 call signal_checkpoint_connect(SIGUSR2) 22 22 23 print *, "initialising phase"23 print *, "initialising phase" 24 24 25 do while (.not. signal_checkpoint_is_received())26 do I = 1, 1527 28 29 end do30 end do25 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 31 31 32 print *, "finishing phase"32 print *, "finishing phase" 33 33 end program
Note: See TracChangeset
for help on using the changeset viewer.