摘要: // 线程锁 let isLock = false; let lockList = []; async function lock() { function unlock() { let waitFunc = lockList.shift(); if (waitFunc) { waitFunc.re 阅读全文
posted @ 2021-07-09 17:59 yzeng 阅读(1588) 评论(0) 推荐(0) 编辑