Search completed in 1.19 seconds.
6 results for "PR_CreateProcess":
Anonymous Shared Memory
MozillaProjectsNSPRReferenceAnonymous Shared Memory
in the first protocol, the job of passing the inheritable shared memory is done via helper-functions with pr_createprocess.
... first protocol server: fm = pr_openanonfilemap(dirname, size, filemapprot); addr = pr_memmap(fm); attr = pr_newprocessattr(); pr_processattrsetinheritablefilemap( attr, fm, shmname ); pr_createprocess(client); pr_destroyprocessattr(attr); ...
...started by server via pr_createprocess() fm = pr_getinheritedfilemap( shmname ); addr = pr_memmap(fm); ...
PR_ProcessAttrSetInheritableFileMap
MozillaProjectsNSPRReferencePR ProcessAttrSetInheritableFileMap
prepare filemap for export to my children processes via pr_createprocess.
... syntax #include <prshma.h> nspr_api(prstatus) pr_processattrsetinheritablefilemap( prprocessattr *attr, prfilemap *fm, const char *shmname ); parameters the function has the following parameters: attr pointer to a prprocessattr structure used to pass data to pr_createprocess.
...a subsequent call to pr_createprocess makes the prfilemap importable by the child process.
PR_GetInheritedFileMap
MozillaProjectsNSPRReferencePR GetInheritedFileMap
imports a prfilemap previously exported by my parent process via pr_createprocess.
... description pr_getinheritedfilemap retrieves a prfilemap object exported from its parent process via pr_createprocess.
sslfnc.html
MozillaProjectsNSSSSL functionssslfnc.html
initializing multi-processing with a shared ssl server cache to start a multi-processing application, the initial parent process calls ssl_configmpserversidcache, and then creates child processes, by one of these methods: call fork and then exec (unix) call createprocess (win32) call pr_createprocess (both unix and win32) it is essential that the parent allow the child to inherit the file descriptors.
...for the child to inherit the parent's environment you must set a specific argument to createprocess or pr_createprocess.
PRProcessAttr
MozillaProjectsNSPRReferencePRProcessAttr
pass a pointer to a prprocessattr into pr_createprocess when you create a new process, specifying information such as standard input/output redirection and file descriptor inheritance.
Process Management and Interprocess Communication
MozillaProjectsNSPRReferenceProcess Management and Interprocess Communication
managing processes setting the attributes of a new process the functions that create and manipulate attribute sets of new processes are: pr_newprocessattr pr_resetprocessattr pr_destroyprocessattr pr_processattrsetstdioredirect pr_processattrsetcurrentdirectory pr_processattrsetinheritablefd creating and managing processes the functions that create and manage processes are: pr_createprocess pr_detachprocess pr_waitprocess pr_killprocess ...