如何在Windows下的C中创建关键部分 [英] how to create critical section in c under windows

查看:59
本文介绍了如何在Windows下的C中创建关键部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为在线程之间提供同步,窗口提供了关键部分代码.

我不知道该怎么做..您可以通过发送示例代码来解决该问题吗.........

To provide synchronization between threads the windows provide the critical section code.

i don''t know how to do this.. can you help me by sending example code for that problems.........

推荐答案

一遍又一遍地发布有关同步对象的基本问题的说明,为什么不尝试阅读文档: [ ^ ]?
Instead of posting again and again basic questions about synchronization objects, why don''t you try to read the documentation: "Synchronization Objects"[^]?


您是否尝试过Google搜索?其实并不难:尝试 [ ^ ]

如果在阅读msdn条目并尝试之后,您仍然遇到困难/问题-请返回一个具体问题-这里没有人喜欢给我示例代码"的帖子.解释一下您尝试过的方法和出了什么问题.
Have you even tried a google search? Its not that hard really: try this[^]

If after reading the msdn entry and giving it a try you still have difficulties/questions - come back with a specific question - nobody here likes "give me example code" posts. Explain what you tried and what went wrong.


这篇关于如何在Windows下的C中创建关键部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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