某些Spring场景可能导致创建非托管的线程。
There are some Spring scenarios that can lead to unmanaged thread creation.
释放非托管资源所占用的内存。
工作站模式/非并发执行-当负责分配内存空间的托管线程发现没有足够的内存可以分配时,它会在同一个线程中启动GC。
Workstation/Concurrency OFF – When the managed thread responsible for memory allocations runs out of available space, it calls the GC which runs in the same thread.
因此,这种具有单个服务区域的应用程序环境称为“非托管”应用程序环境。
Thus, such an application server environment with a single servant region is called an “unmanaged” application environment.
对MSIL代码的优化是对非托管代码进行优化的一个大子集。
The optimizations done on MSIL code are a large subset of those done on unmanaged code.
支持非axis托管的服务。
在安装托管代码或非托管代码时建议采用下列步骤,以确保安装本身是安全的。
The following steps are recommended when installing managed code or unmanaged code to ensure that the installation itself is secure.
请使用此名称在您的代码中搜索将该委托外传给非托管代码的平台调用或COM签名。
Use this name to search your code for platform invoke or COM signatures that pass that delegate out to unmanaged code.
表示说明如何将字段从托管代码封送为非托管代码的类。
Represents the class that describes how to marshal a field from managed to unmanaged code.
释放由该对象使用的非托管资源,并可选择释放托管资源。
Releases the unmanaged resources that are used by the object and optionally releases managed resources.
类的参考文档,该类表示托管线程(无论它是来自非托管代码还是在托管应用程序中创建的)。
Provides reference documentation for the Thread class, which represents a managed thread, whether it came from unmanaged code or was created in a managed application.
用于获取非托管类型的大小(以字节为单位)。
由垃圾收集我们的对象的破坏是的完美的释放那些讨厌的非托管资源的时间。
The destruction of our object by the Garbage collector is the perfect time to free those pesky unmanaged resources.
与其将非托管代码权限授予所有使用这些包装的应用程序,不如只将这些权限授予包装代码。
Instead of giving all applications that use these wrappers unmanaged code rights, it is better to give these rights only to the wrapper code.
如果我有一个callhandlerservice需要针对每一个来电了(因为它使用昂贵的,非托管资源的实例),我该如何做?
If I have a CallHandlerService that needs to be created in response to each incoming call (because it uses expensive, unmanaged resources for instance), how do I go about doing that?
可以使用托管委托取代本机函数指针来从托管代码中调用以函数指针作为参数的非托管api。
Unmanaged APIs that take functions Pointers as arguments can be called from managed code with a managed delegate in place of the native function pointer.
其原因主要是由于这样的事实,C++是一个非托管语言。
The reason is primarily due to the fact that C++ is an unmanaged language.
HRESULT到异常的映射也可以反方向使用,将特定的HRESULT返回到非托管客户端。
The HRESULT to exception mapping also works in the other direction by returning specific HRESULTs to unmanaged clients.
非托管客户端在获取指向对象的指针后,将依赖于该对象来保持其位置不变。
Unmanaged clients, having obtained a pointer to an object, rely on the object to remain at the same location.
最常用的非托管资源类型是包装操作系统资源的对象,例如,文件句柄、窗口句柄或网络连接。
The most common type of unmanaged resource is an object that wraps an operating system resource, such as a file handle, window handle, or network connection.
类库中的编程错误会公开安全脆弱性,因为类库经常访问受保护的资源和非托管代码。
Programming errors in class libraries can expose security vulnerabilities because class libraries often access protected resources and unmanaged code.
非托管结构被声明为类而不是托管结构,以显示当非托管函数需要一个指向结构的指针时可以如何使用类。
The unmanaged structure is declared as a class, instead of as a managed structure, to show how a class can be used when the unmanaged function expects a pointer to a structure.
部分信任使应用程序受到一系列限制:如应用程序受到访问本地硬盘的限制,以及无法运行非托管代码,等等。
Partial trust subjects an application to a series of restrictions: among other things, an application is restricted from accessing the local hard disk, and cannot run unmanaged code.
当非托管代理尝试通过COM与公共语言运行时通信时,该运行时将解析由该非托管代理表示的远程对象。
When an unmanaged proxy attempts to communicate with the common language runtime through COM, the runtime resolves the remote object that is represented by the unmanaged proxy.
介绍允许对CLR正在执行的程序进行调试的非托管接口。
Describes the unmanaged interfaces that allow debugging of a program that is being executed by the CLR.
非托管交换机可供5或9个端口使用,而托管交换机可供9个端口使用,其中之一的端口作为一个RS- 232配置端口来使用。
The unmanaged switches are available with 5 or 9 ports, while the managed switch is available with 9 ports, one of which is used as a RS-232 configuration port.
NET功能的同时仍包含非托管代码。
其结果是托管线程可以在同一个非托管进程中的应用程序域之间自由移动;
The result is that a managed thread can move freely between application domains inside the same managed process;
提供托管数据类型及其相应的非托管数据类型的列表。
Provides a list of managed data types and their corresponding unmanaged data types.
这些接口通常执行相同的功能,但以不同的方式向托管和非托管对象公开。
These interfaces commonly perform the same function, but are exposed differently to managed and unmanaged objects.
应用推荐