腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(12)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
4
回答
等待条件的空循环(
busy-waiting
)
在过去的20分钟里,我一直在研究空循环,其目的只是为了等待一个条件成为现实。函数: while(!isLoaded){ } //continue on here我使用睡眠(500)在CPU上很容易,因为
浏览 4
修改于2015-01-15
得票数 3
2
回答
时间循环中的Thread.sleep()
// handler }艾德在抱怨calling to Thread.sleep() in a while loop are indicative of "
busy-waiting
Busy-waiting
is often inefficient, and may result in unexpected deadlocks as
busy-waiting
threads do
浏览 3
修改于2020-07-04
得票数 0
回答已采纳
2
回答
避免线程中出现忙碌等待警告
//warning: Call to 'Thread.sleep()' in a loop, probably
busy-waiting
try{ Thread.sleep
浏览 1239
修改于2021-11-15
得票数 1
回答已采纳
1
回答
如何利用PCL过滤kinect中的点云数据
receiving point clouds // wait until user quits program with Ctrl-C, but no
busy-waiting
浏览 4
修改于2012-05-25
得票数 0
2
回答
自旋锁实现(OSSpinLock)
Busy-waiting
... */ goto again;() 在做了一些研究之后
浏览 0
修改于2012-10-18
得票数 1
回答已采纳
1
回答
PCL创建pcd云
interface->start (); // wait until user quits program with Ctrl-C, but no
busy-waiting
浏览 3
修改于2012-10-18
得票数 1
回答已采纳
3
回答
简单TCP-服务器
exit(1);signal(SIGCHLD, SIG_IGN); //zombie children management /*
Busy-waiting
浏览 1
修改于2013-02-17
得票数 2
4
回答
环回接口上的客户端服务器连接
服务器: * Sequential
busy-waiting
int main(int argc, char** argv) { int opt, client_addr_l,
浏览 1
提问于2013-03-14
得票数 1
回答已采纳
2
回答
顺序服务器: accept(2)调用时的行为
\n"); while(1){ memset(&client_addr, 0, sizeof(client_addr));
浏览 0
修改于2013-03-04
得票数 0
回答已采纳
1
回答
服务器-客户端套接字: freeaddrinfo(3)放置
\n"); while(1){ } 服务器连接每次都成功。
浏览 4
修改于2013-03-28
得票数 1
1
回答
在PCL (点云库)中为实时kinect数据生成距离图像
start receiving point clouds // wait until user quits program with Ctrl-C, but no
busy-waiting
浏览 8
提问于2014-03-01
得票数 1
1
回答
用JNI编写用C和Java编写的多线程Conway生命游戏实现
we're saturating the cores and denying multitasking, there's no reason to sleep on waits // So we're
busy-waiting
浏览 0
提问于2023-03-27
得票数 4
领券