Developer World
Spresense SDK Library v3.2.0-ebc0364
supervisor_context Struct Reference

#include <supervisor.h>

Collaboration diagram for supervisor_context:

Public Attributes

worker_info_t controller
 
worker_info_t helpers [MPCOMM_MAX_HELPERS]
 
cpu_set_t helpers_cpuset
 
uint8_t helper_num
 
pthread_t controller_listener_pid
 
sem_t sem_done
 

Detailed Description

Structure of information needed by a supervisor in the MPCOMM framework.

Member Data Documentation

◆ controller

worker_info_t controller

Information about controller. See worker_info_t

◆ helpers

Information about helpers. See worker_info_t

◆ helpers_cpuset

cpu_set_t helpers_cpuset

Set of CPUs used as a helper. See cpu_set_t

◆ helper_num

uint8_t helper_num

Number of helpers used.

◆ controller_listener_pid

pthread_t controller_listener_pid

Controller listener thread identifier.

◆ sem_done

sem_t sem_done

Semaphore to wait for controller done messages.


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