Modules

MSG Data Types
[MSG native]

This section describes the different datatypes provided by MSG. More...

Modules

 Details on MSG datatypes



enum  MSG_error_t {
  MSG_OK = 0, MSG_TIMEOUT = 1, MSG_TRANSFER_FAILURE = 2, MSG_HOST_FAILURE = 4,
  MSG_TASK_CANCELLED = 8
}
 

Error handling.

More...



typedef struct m_hostm_host_t
 Host datatypeA location (or host) is any possible place where a process may run. Thus it is represented as a physical resource with computing capabilities, some mailboxes to enable running process to communicate with remote ones, and some private data that can be only accessed by local process.



typedef struct m_taskm_task_t
 Task datatypeA task may then be defined by a computing amount, a message size and some private data.
#define MSG_TASK_UNINITIALIZED   NULL
 Default value for an uninitialized m_task_t.



typedef struct m_processm_process_t
 Agent datatypeAn agent may be defined as a code, with some private data, executing in a location.



typedef int m_channel_t
 Channel datatypeA channel is a number and identifies a mailbox type (just as a port number does).

Detailed Description

This section describes the different datatypes provided by MSG.


Typedef Documentation

typedef struct m_host* m_host_t

Host datatypeA location (or host) is any possible place where a process may run. Thus it is represented as a physical resource with computing capabilities, some mailboxes to enable running process to communicate with remote ones, and some private data that can be only accessed by local process.

See also:
Management functions of Hosts
typedef struct m_task* m_task_t

Task datatypeA task may then be defined by a computing amount, a message size and some private data.

See also:
Managing functions of Tasks
typedef struct m_process* m_process_t

Agent datatypeAn agent may be defined as a code, with some private data, executing in a location.

See also:
Management Functions of Agents
typedef int m_channel_t

Channel datatypeA channel is a number and identifies a mailbox type (just as a port number does).

See also:
Understanding channels

Enumeration Type Documentation

Error handling.

Enumerator:
MSG_OK 

Everything is right. Keep on going this way !

MSG_TIMEOUT 

nothing good happened before the timer you provided elapsed

MSG_TRANSFER_FAILURE 

There has been a problem during you task transfer. Either the network is down or the remote host has been shutdown.

MSG_HOST_FAILURE 

System shutdown. The host on which you are running has just been rebooted. Free your datastructures and return now !

MSG_TASK_CANCELLED 

Canceled task. This task has been canceled by somebody!


Back to the main Simgrid Documentation page Generated for SimGridAPI by doxygen