VirtualBox

Changeset 2293 in kBuild for trunk/src/kash/shinstance.h


Ignore:
Timestamp:
Feb 28, 2009 7:25:12 AM (16 years ago)
Author:
bird
Message:

kash: forking on windows (almost there).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/shinstance.h

    r2291 r2293  
    5959#endif
    6060
     61/**
     62 * A child process.
     63 */
     64typedef struct shchild
     65{
     66    pid_t       pid;                    /**< The pid. */
     67#if K_OS == K_OS_WINDOWS
     68    void       *hChild;                 /**< The process handle. */
     69#endif
     70} shchild;
    6171
    6272/* memalloc.c */
     
    135145    shsigset_t          sigmask;        /**< Our signal mask. */
    136146    char              **shenviron;      /**< The environment vector. */
     147    int                 num_children;   /**< Number of children in the array. */
     148    shchild            *children;       /**< The child array. */
    137149
    138150    /* alias.c */
     
    396408
    397409/* wait / process */
     410int sh_add_child(shinstance *psh, pid_t pid, void *hChild);
    398411#ifdef _MSC_VER
    399412#   include <process.h>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette