会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 4. 发明授权
    • Method and device for processing a window task
    • 用于处理窗口任务的方法和设备
    • US09588782B2
    • 2017-03-07
    • US14284691
    • 2014-05-22
    • TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
    • Zifeng ShangXuemin Ma
    • G06F9/46G06F9/44
    • G06F9/4443G06F9/451
    • A method and a device for processing a window task are provided. The method includes: creating a thread class including a first member variable for representing whether a task processed currently has been cancelled and a first member function for initiating a backstage thread; creating a backstage thread object based on the thread class when a task that takes time needs to be processed, and initializing the first member variable in the backstage thread object as FALSE, invoking the first member function in the backstage thread object to initiate the backstage thread; in process of the backstage thread processing the task that takes time, if a close instruction for a current window is received, setting the first member variable in the backstage thread object as TRUE to release the memory space occupied by the backstage thread object and closing the current window.
    • 提供了一种用于处理窗口任务的方法和设备。 该方法包括:创建包括用于表示当前处理的任务是否已被取消的第一成员变量和用于启动后台线程的第一成员函数的线程类; 当需要花费时间的任务需要处理时,创建一个基于线程类的后台线程对象,并将后台线程对象中的第一个成员变量初始化为FALSE,调用后台线程对象中的第一个成员函数来启动后台线程 ; 在处理后台线程的过程中,处理需要时间的任务,如果接收到当前窗口的关闭指令,则将后台线程对象中的第一个成员变量设置为TRUE,以释放后台线程对象占用的内存空间并关闭 当前窗口。