Ignore:
Timestamp:
Apr 26, 2017, 2:11:56 PM (7 years ago)
Author:
alain
Message:

Introduce the chdev_t structure in place of the device_t structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/signal.h

    r1 r5  
    128128{
    129129        sa_handler_t        * sigactions[SIG_NR];
    130  ster   struct thread_s     * handler;
     130    struct thread_s     * handler;
    131131}
    132132sig_mgr_t;
     
    145145
    146146/*******************************************************************************************
    147  * This function TODO
     147 * This function register the signal <sig> in the bit_vector of all threads of a given
     148 * process identified by its <pid>, in all clusters containing threads for this process.
     149 * It can be executed by any thread running in any cluster, as this function uses
     150 * remote access to traverse the list of process copies, and the RPC_RISE_SIGNAL
     151 * to deliver the signal to all involved clusters.
     152 * The list of process copies is rooted in the owner cluster.
    148153 ******************************************************************************************/
    149154int sys_kill( pid_t    pid,
     
    156161
    157162/*******************************************************************************************
    158  * This function TODO
     163 * This function register the signal <sig> in the bit-vector of all threads of a given
     164 * process identified by its <pid>, in a given cluster.
     165 * It must be executed by a thread running in the same cluster as the target threads
     166 * (can be a local thread or a RPC thread).
    159167 ******************************************************************************************/
    160 error_t signal_init( struct thread_s * thread );
    161 
    162 /*******************************************************************************************
    163  * This function register the signal <sig> in the bit-vector of all threads of a given
    164  * process identified by its <pid>, on all clusters containing a thread .
    165  * It can be executed by any thread running in any cluster.
    166  ******************************************************************************************/
    167 error_t signal_rise( pid_t     pid,
    168                      uint32_t  sig );
     168error_t signal_rise( struct process_s * process,
     169                     uint32_t           sig );
    169170
    170171/*******************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.