SimGrid  3.14.159
Versatile Simulation of Distributed Systems
smx_private.h File Reference
#include <signal.h>
#include "src/kernel/context/Context.hpp"

Classes

class  simgrid::simix::Global
 
struct  s_smx_file
 

Namespaces

 simgrid
 Host datatype from SIMIX POV.
 
 simgrid::simix
 

Macros

#define SMX_EXCEPTION(issuer, cat, val, msg)
 Ask to the provided simix process to raise the provided exception. More...
 

Typedefs

typedef struct s_smx_file s_smx_file_t
 

Functions

void SIMIX_clean ()
 Clean the SIMIX simulation. More...
 

Variables

std::unique_ptr< simgrid::simix::Globalsimix_global
 

Macro Definition Documentation

§ SMX_EXCEPTION

#define SMX_EXCEPTION (   issuer,
  cat,
  val,
  msg 
)
Value:
if (1) { \
smx_actor_t _smx_throw_issuer = (issuer); /* evaluate only once */ \
xbt_ex e(XBT_THROW_POINT, msg); \
e.category = cat; \
e.value = val; \
_smx_throw_issuer->exception = std::make_exception_ptr(e); \
} else ((void)0)
#define XBT_THROW_POINT
Create a ThrowPoint with (FILE, LINE, func)
Definition: exception.hpp:54

Ask to the provided simix process to raise the provided exception.

Typedef Documentation

§ s_smx_file_t

typedef struct s_smx_file s_smx_file_t

Variable Documentation

§ simix_global

std::unique_ptr<simgrid::simix::Global> simix_global