一旦我有一个进程句柄,好像吹我。
最后一个有意思的参数就是句柄继承模型了。它允许在必要的时候,可以喝子进程共享资源。
Finally, the other interesting parameter is the handle inheritance model, this will allow to share this resource with a child process if is required.
这些句柄可能全局,每进程,或每线程。
These handles may be available globally, per process, or per thread.
这些设施包括打开文件句柄(文件描述符)、共享内存、进程同步原语和当前目录。
Facilities include open file handles (file descriptors), Shared memory, process synchronization primitives, and current directory.
Handle给出进程所用句柄(文件、套接字等)的列表。
Handle shows the list of handles (to files, sockets, and so on) that a process is using.
ProcExp将遍历所有打开的句柄,并确定相应的进程。
ProcExp looks through all the open handles and identifies the process.
lpThreadAttributes是指向线程属性的指针,决定了线程句柄是否能由子进程继承。
LpThreadAttributes is a pointer to the thread attributes that determines whether the thread handle can be inherited by the child process.
分配给一个运行的进程的默认文件句柄数量和共享内存不足以在MacOSX 上运行IBMInformixDynamicServer。
The default amount of file handles and shared memory allocated to a running process is insufficient to run IBM Informix Dynamic Server on Mac OS X.
在与POSIX兼容的系统上,文件句柄是进程属性,而不是线程属性。
On POSIX-compliant systems, file handles are process and not thread attributes. Here are a few guidelines for using file locking.
Handlecount:该进程打开的句柄数。
可以看出我们的进程中有一个句柄,该句柄指向类路径目录和几个JAR文件。
You can see that our process has a handle to the directory on our classpath and to several JAR files.
它还可以观察dll的信息和进程的句柄。
It can also inspect information on DLLs and handles for a process.
事实上,该进程还有更多的句柄,但默认情况下该工具仅显示引用文件的句柄。
In fact the process has a lot more handles, but by default the utility only shows handles that refer to files. You can display others by using the -a parameter.
bInheritHandles确定了子进程是否要继承父进程的句柄。
BInheritHandles determines whether the handles have to be inherited to the child from the parent.
这个函数返回一个存在的进程对象的句柄。
The OpenProcess function returns a handle to an existing process object.
该结构用于在中断正中断了当前进程时,用于保存当前处理器的寄存器内容。通常它不被中断句柄所使用。
Structure used to save the content of the processor's registers at the moment the interrupt interrupted the current process. It is normally not used by the interrupt handler.
如果函数执行成功,返回值是指定进程的打开句柄。
If the function succeeds, the return value is an open handle to the specified process.
指定当前进程创建一个新的进程返回的句柄是否可以继承。如果是真的,可以继承。
Specifies whether the returned handle can be inherited by a new process created by the current process. If TRUE, the handle is inheritable.
执行高进程权限的窗口句柄确认。
Perform a window handle validation of higher process privilege.
结束进程没必要从系统中移动进程对象。一个进程对象在进程最后一个句柄被关闭后删除。
Terminating a process does not necessarily remove the process object from the system. A process object is deleted when the last handle to the process is closed.
获取当前进程的一个堆,返回一个堆句柄。
向内容容器的第二部分提供源控件,该源控件提供该窗口句柄并驻留在主窗口的第二分区进程空间中。
A second portion of the content container is provided with a source control that provides the window handle and resides in a second partitioned process space.
使文件句柄可由子进程继承。
中断指令将控制传递给内核句柄,后者在执行替换函数执行之后,返回来继续执行该进程。
The interrupt instruction passes control to a kernel handler, which after executing a replacement function, returns to continue executing the process.
根据窗口的句柄找到相应的进程,并关闭该进程。
CloseProcessById Closes a process according to its process ID (PID).
根据窗口的句柄找到相应的进程,并关闭该进程。
CloseProcessById Closes a process according to its process ID (PID).
应用推荐