Ignore:
Timestamp:
Jan 4, 2018, 10:05:47 AM (4 years ago)
Author:
alain
Message:

Improve sys_exec.

File:
1 edited

Legend:

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

    r409 r416  
    197197 * It registers the process descriptor extended pointer in the local processs manager
    198198 * pref_tbl[] array. This function is called by the process_make_fork() function,
    199  * or by the process_init_create() function.
    200  ******************************************************************************************
    201  * @ process    : [in]  extended pointer on the process descriptor.
     199 * by the process_make_exec() function, and by the process_init_create() function.
     200 ******************************************************************************************
     201 * @ process    : pointer on process descriptor.
    202202 * @ pid        : [out] allocated PID.
    203  * @ return 0 if success / return EAGAIN if no PID slot available
    204  *****************************************************************************************/
    205 error_t cluster_pid_alloc( xptr_t    process_xp,
    206                            pid_t   * pid );
     203 * @ return 0 if success / return -1 if no PID slot available.
     204 *****************************************************************************************/
     205error_t cluster_pid_alloc( struct process_s * process,
     206                           pid_t            * pid );
    207207
    208208/******************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.