ceptr
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
vmhost.h File Reference

vmhost implementation header file More...

#include "receptor.h"
Include dependency graph for vmhost.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  thread
 
struct  ActiveReceptor
 
struct  ReceptorRoute
 
struct  VMHost
 

Macros

#define SELF_RECEPTOR_ADDR   -1
 
#define MAX_ACTIVE_RECEPTORS   1000
 
#define MAX_RECEPTORS   1000
 

Typedefs

typedef struct thread thread
 
typedef struct ActiveReceptor ActiveReceptor
 
typedef struct ReceptorRoute ReceptorRoute
 
typedef struct VMHost VMHost
 

Functions

VMHost__v_init (Receptor *r, SemTable *sem)
 
VMHost_v_new ()
 Creates a new virtual machine host. More...
 
void _v_free (VMHost *r)
 
Xaddr _v_load_receptor_package (VMHost *v, T *p)
 
Xaddr _v_install_r (VMHost *v, Xaddr package, T *bindings, char *label)
 
Xaddr _v_new_receptor (VMHost *v, Receptor *parent, Symbol s, Receptor *r)
 
void _v_activate (VMHost *v, Xaddr x)
 
void _v_send (VMHost *v, ReceptorAddress from, ReceptorAddress to, Aspect aspect, Symbol carrier, T *contents)
 
void _v_send_signals (VMHost *v, T *signals)
 
void _v_deliver_signals (VMHost *v, Receptor *sender)
 
void * __v_process (void *arg)
 
void _v_instantiate_builtins (VMHost *v)
 
void _v_start_vmhost (VMHost *v)
 
void _v_start_thread (thread *t, void *(*start_routine)(void *), void *arg)
 
void _v_join_thread (thread *t)
 

Detailed Description

vmhost implementation header file

Definition in file vmhost.h.