存在用于等待任何进程退出的bash脚本用法“wait -n”。但它得到了错误信息。脚本的部分是:# `jobs` ensures that any completed old processesfrom other testsjobs &> /dev/null错误信息
wait: -n: invalid opti
我正在尝试找出在这种上下文中使用Wait和WaitAsync的SemaphoreSlim用法之间的区别:public async Task<string> Get() // What's the difference between using Wait and WaitAsync herethis.semaphore.Wait(); //