Emulation and simulation of
Wireless Sensor Networks


   Project Page






 Hosted by
SourceForge.net Logo

/home/brennan/n-sim/OrbisQuartus/control/mini_mpi_server.h File Reference

Limited MPI functionality. More...

Go to the source code of this file.


struct  arguments


void * mini_mpi_server (void *arg_struct)
int get_cluster_size ()
int get_task_socket (int i)
void change_task_flag (int i, short f)

Detailed Description

Limited MPI functionality.


Original Author: Sean M. Brennan <brennan@lanl.gov>


Created: February 8, 2006

2007/10/11 17:13:24

Definition in file mini_mpi_server.h.

Function Documentation

void change_task_flag int  i,
short  f

Definition at line 108 of file mini_mpi_server.c.

References task_handle::flag, task_handle::id, mpi_mutex, task_handle::next, and tasks_head.

int get_cluster_size  ) 

Definition at line 81 of file mini_mpi_server.c.

References _proc_count_, and mpi_mutex.

Referenced by ctl_server(), and virtual_time_server().

int get_task_socket int  i  ) 

Definition at line 90 of file mini_mpi_server.c.

References task_handle::fd, task_handle::id, mpi_mutex, task_handle::next, task_handle::sock, and tasks_head.

Referenced by ctl_server().

void* mini_mpi_server void *  arg_struct  ) 

Definition at line 239 of file mini_mpi_server.c.

References _proc_count_, BACKLOG, daemon_quitting(), daemon_shuttingdown(), task_handle::fd, task_handle::flag, task_handle::id, task_handle::ip_addr, task_handle::list, mpi_handler(), mpi_mutex, MPI_PORT, task_handle::next, task_mutex, tasks_head, tasks_tail, and task_handle::thread.

Referenced by main().

© 2007, Los Alamos National Security, LLC.