会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 2. 发明授权
    • Resumption of preempted non-privileged threads with no kernel
intervention
    • 恢复没有内核干预的抢占非特权线程
    • US5872963A
    • 1999-02-16
    • US800968
    • 1997-02-18
    • Nawaf K. BitarRobert M. EnglishRajagopal AnanthanarayananAlexander D. PetruncolaDavid Craig
    • Nawaf K. BitarRobert M. EnglishRajagopal AnanthanarayananAlexander D. PetruncolaDavid Craig
    • G06F9/46G06F9/48G06F9/42G06F9/22
    • G06F9/4843G06F9/461
    • A system and method for context switching between a first and a second execution entity (such as a thread) without having to enter into protected kernel mode. The system includes a memory and a plurality of processors, wherein each of the plurality of processors operates within both a user mode and a protected kernel mode and includes a program counter and a plurality N of registers. The first and second execution entities have user states defined by a program counter value, a context identifier value and N register values. To switch context, an execution entity such as a thread, while in user mode, writes the user state of the first execution entity to memory. It then restores the user state of the second execution entity by writing register values associated with the second execution entity to all but a first register and writing the context identifier value to a context identifier location. The program counter value is then written to the first register and a jump performed to the program counter value stored in the first register while the last remaining register value is loaded to the first register. Each of these steps is performed in user mode; the result is an efficient way of switching from one user thread to the next user thread without entry into kernel space.
    • 用于在第一和第二执行实体(诸如线程)之间进行上下文切换而不必进入受保护的内核模式的系统和方法。 该系统包括存储器和多个处理器,其中多个处理器中的每一个处理器在用户模式和受保护的内核模式中都操作,并且包括程序计数器和多个N个寄存器。 第一和第二执行实体具有由程序计数器值,上下文标识符值和N个寄存器值定义的用户状态。 为了切换上下文,诸如线程的执行实体在用户模式下将第一执行实体的用户状态写入存储器。 然后,它通过将与第二执行实体相关联的寄存器值写入除第一寄存器之外的所有者,并将上下文标识符值写入上下文标识符位置来恢复第二执行实体的用户状态。 然后将程序计数器值写入第一个寄存器,并且将最后一个剩余寄存器值加载到第一个寄存器时,对存储在第一个寄存器中的程序计数器值执行跳转。 这些步骤中的每一个都以用户模式执行; 结果是从一个用户线程切换到下一个用户线程而不进入内核空间的有效方式。