We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RT
The text was updated successfully, but these errors were encountered:
可能是win下多进程调度的问题 回头我看下
Sorry, something went wrong.
这块我看了下,win下确实会,应该是进程调度的问题,linux/mac下很快没这问题,具体win下 我还要调下,等后两天我再看看
比较怪,也不是xmake自身编译任务调度的问题,我设置成-j 1,单任务编译还是有这问题,只要在子进程执行xmake去编译,并且开启了重定向就会有这个问题,后台进程cpu基本没怎么跑。
开启重定向+子进程单任务编译: 后台进程 cpu 平均 0-1%, cl.exe基本没怎么被调起,编译很慢
cd tbox xmake l os.run "xmake -r -j 1"
关闭重定向+子进程单任务编译: 完全正常,子进程cpu 30-40%,正常编译
cd tbox xmake l os.exec "xmake -r -j 1"
主进程单任务编译+重定向:也正常
尝试吧CreateProcess设置到high优先级,也没效果,具体原因还得再查下。。
我修复了,你可以更新下dev试试,xmake update dev 需要通过重新完整安装更新才行。
是由于xmake依赖的tbox库里面 重定向输出 导致stdin 的单例创建失败后,一些处理逻辑有问题导致。。现在应该可以了。。
No branches or pull requests
RT
The text was updated successfully, but these errors were encountered: