ALPS MPS Codes
Reference documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
breakpoint Class Reference

#include <debug_mpi.h>

Public Member Functions

 breakpoint ()
 
void stop ()
 

Detailed Description

Definition at line 23 of file debug_mpi.h.

Constructor & Destructor Documentation

breakpoint::breakpoint ( )
inline

Definition at line 26 of file debug_mpi.h.

26  :state(0)
27  {
28  gethostname(hostname, sizeof(hostname));
29  printf("PID %d on %s ready for attach\n", getpid(), hostname);
30  fflush(stdout);
31  stop();
32  }
void stop()
Definition: debug_mpi.h:34

Member Function Documentation

void breakpoint::stop ( )
inline

Definition at line 34 of file debug_mpi.h.

35  {
36  while(state == 0)
37  sleep(1);
38  }

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