Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Attributes
Arc::RunInitializerArgument Class Reference

List of all members.

Public Member Functions

 RunInitializerArgument (void(*func)(void *), void *arg)
void Run (void)

Private Attributes

void * arg_
void(* func_ )(void *)

Detailed Description

Definition at line 87 of file Run_unix.cpp.

Constructor & Destructor Documentation

Arc::RunInitializerArgument::RunInitializerArgument ( void(*)(void *)  func,
void *  arg 
) [inline]

Definition at line 92 of file Run_unix.cpp.

      : arg_(arg),
        func_(func) {}

Member Function Documentation

Definition at line 98 of file Run_unix.cpp.

    void *arg = arg_;
    void (*func)(void*) = func_;
    delete this;
    // To leave clean environment reset all signal.
    // Otherwise we may get some signals non-intentionally ignored.
    // Glib takes care of open handles.
    for(int n = SIGHUP; n < SIGRTMIN; ++n)
    // At least reset all signals whoe numbers are well defined
    for(int n = SIGHUP; n < SIGTERM; ++n)
    if (!func)

Here is the caller graph for this function:

Member Data Documentation

Definition at line 89 of file Run_unix.cpp.

void(* Arc::RunInitializerArgument::func_)(void *) [private]

Definition at line 90 of file Run_unix.cpp.

The documentation for this class was generated from the following file: