Windows运行时组件中的pthreads? [英] pthreads in Windows Runtime Component?

查看:68
本文介绍了Windows运行时组件中的pthreads?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Windows运行时组件为C ++支持构建Windows phone App,

I am builiding Windows phone App using Windows Runtime Component for C++ support,

我现有的C ++代码需要pthreads支持,我想这是不可能的。

My existing C++ code needs pthreads support, something i guess is not possible.

有些想法如何解决这种情况,如何在Windows运行时组件C ++中使用线程 

Some idea how to solve this situation, how to use threads in windows runtime component C++ 

提前致谢

推荐答案

您好,

您可以使用
Windows.System.Threading
虽然一般情况下首选async / await机制才能让编译器管理线程。

You can use Windows.System.Threading though in general the async / await mechanism is preferred in order to let the compiler manage threads.

希望这有帮助,

Mark

Hope this helps,
Mark


这篇关于Windows运行时组件中的pthreads?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆