如何在Unix中使用Pthread显示数字时间并同时处理其他功能? [英] How Do I Use Pthread In Unix To Show Digital Time And Simultaneously Work On Other Functions?

查看:69
本文介绍了如何在Unix中使用Pthread显示数字时间并同时处理其他功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我正在进行控制台项目,我需要不断显示数字时间在屏幕上,同时允许进行其他操作。如何使用 pthreads 实现相同的功能?

如何在使用C ++的Linux环境中完成相同的工作

请帮助一些教程!!!



提前致谢!!!

Hello,

I am working on a Console project where i need to constantly show the digital time on the screen while allowing other operations to take place. How can i implement the same using pthreads?
How can i accomplish the same in Linux environment using C++ ?
Please help with some tutorials!!!

Thanks in advance!!!

推荐答案

为什么不呢试着自己寻找? Google已大量有用信息 [ ^ ]。
Why not try searching for yourself? Google has lots of useful information[^].


这篇关于如何在Unix中使用Pthread显示数字时间并同时处理其他功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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