摘要:
In a multi-tasking computing system environment, one program is halted and context switched out so that a processor may context switch in a subsequent program for execution. Processor state information exists which reflects the state of the program being context switched out. Storage of this processor state information permits successful resumption of the context switched out program. When the context switched out program is subsequently context switched in, the stored processor information is loaded in preparation for successfully resuming the program at the point in which execution was previously halted. Although, large areas of memory can be allocated to processor state information storage, only a portion of this may need to be preserved across a context switch for successfully saving and resuming the context switched out program. Unnecessarily saving and loading all available processor state information can be noticeably inefficient particularly where relatively large amounts of processor state information exists. In one embodiment, a processor requests a co-processor to context switch out the currently executing program. At a predetermined appropriate point in the executing program, the co-processor responds by halting program execution and saving only the minimal amount of processor state information necessary for successful restoration of the program. The appropriate point is chosen by the application programmer at a location in the executing program that requires preserving a minimal portion of the processor information across a context switch. By saving only a minimal amount of processor information, processor time savings are accumulated across context save and restoration operations.
摘要:
The invention is embodied in software executable on a computer having a working memory with demand-loadable components initially stored outside of the working memory, each component having an entry point including a constructor for an object. Preferably, the demand-loadable components are initially provided in a memory within the computer or a location external of the computer. A Namespace in the working memory provides access in the working memory to the components as they become needed by applications running in the computer. The Namespace provides the access by managing demand-loading and unloading of the components in the working memory.
摘要:
Various embodiments enable visual elements or objects, such as two-dimensional raster images, to be packed into a bounding region, such as a rectangular bounding region, in a manner that reduces wasted space. In at least some embodiments, a two-dimensional object packing component attempts to fit individual objects into the bounding region. The two-dimensional object packing component utilizes a span list to keep track of available space by tracking spans within the bounding region. Spans can occur laterally-adjacent placed objects and/or adjacent a placed object's bottom edge. In one or more embodiments, the span list is sorted left-to-right, top-to-bottom.
摘要:
Various embodiments enable visual elements or objects, such as two-dimensional raster images, to be packed into a bounding region, such as a rectangular bounding region, in a manner that reduces wasted space. In at least some embodiments, a two-dimensional object packing component attempts to fit individual objects into the bounding region. The two-dimensional object packing component utilizes a span list to keep track of available space by tracking spans within the bounding region. Spans can occur laterally-adjacent placed objects and/or adjacent a placed object's bottom edge. In one or more embodiments, the span list is sorted left-to-right, top-to-bottom.
摘要:
Increasing the level of automation when establishing and managing network connections. A connection manager operates between system level APIs and application programs, providing a level of abstraction. When a user wishes to access a remote resource included in destination network, the user simply identifies the remote resource and the connection manager performs the underlying operations. The connection manager relieves users from having to know detailed information about the remote resource and the destination network. When the connection manager receives a request to access a remote resource, connection manager may utilize extensible decision logic to identify a most appropriate connection method for connecting to a destination network. Such decision logic may include comparing prioritized connection requests to local resources available in a local computing device, as well as, comparing connection parameters associated with connection methods. The connection manager may utilize connection service provider modules to establish identified connection methods.