Neko  0.8.1
A portable framework for high-order spectral element flow simulations
signal Module Reference

Interface to signal handler. More...

Data Types

interface  sighdl_timeout
 
interface  sighdl_usr
 
interface  sighdl_set_timeout
 
interface  sighdl_trap_cpulimit
 
interface  sighdl_trap_usr
 

Functions/Subroutines

logical function signal_timeout ()
 Check if any timeout has occurred (either SIGXCPU or SIGALRM) More...
 
logical function signal_usr (usr)
 Check if a user signal has been raised. More...
 
subroutine signal_set_timeout (sec)
 Set a timeout after seconds. More...
 
subroutine signal_trap_cpulimit ()
 Initialize signal handler to trap SIGXCPU. More...
 
subroutine signal_trap_usr ()
 Initialize signal handler to trap SIGUSR1 and SIGUSR2. More...
 

Detailed Description

Interface to signal handler.

Function/Subroutine Documentation

◆ signal_set_timeout()

subroutine signal::signal_set_timeout ( integer(kind=c_int)  sec)

Set a timeout after seconds.

Definition at line 111 of file signal.f90.

Here is the caller graph for this function:

◆ signal_timeout()

logical function signal::signal_timeout

Check if any timeout has occurred (either SIGXCPU or SIGALRM)

Definition at line 79 of file signal.f90.

Here is the caller graph for this function:

◆ signal_trap_cpulimit()

subroutine signal::signal_trap_cpulimit

Initialize signal handler to trap SIGXCPU.

Definition at line 121 of file signal.f90.

Here is the caller graph for this function:

◆ signal_trap_usr()

subroutine signal::signal_trap_usr

Initialize signal handler to trap SIGUSR1 and SIGUSR2.

Definition at line 134 of file signal.f90.

Here is the caller graph for this function:

◆ signal_usr()

logical function signal::signal_usr ( integer, intent(in)  usr)

Check if a user signal has been raised.

Definition at line 91 of file signal.f90.

Here is the caller graph for this function: