• K
    Overhaul the lock related code of resource queue(Second submit, assertion · 42cab821
    Kenan Yao 提交于
    failure fixed)
    
    In some error cases, the resource queue lock is not released, hence
    leading to lock leak and inconsistent resource queue status; this commit
    overhauls the resource queue locking code to complete the cleanups if error
    or signal happens during acquiring resource queue lock; meanwhile, some
    unnecessary code blocks are removed and unreasonable code are fixed to make
    it easier for reading and understanding;
    42cab821
resscheduler.h 5.4 KB