c中的多线程 [英] Multi threading in c

查看:75
本文介绍了c中的多线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨....





i正在使用linux(C语言)和C#创建网站拦截等应用程序,

Linux是服务器。我在使用多线程问题是,如果我要浏览20个网站,它的开放和正常工作...在该线程没有创建之后......你可以告诉我这个解决方案..

Hi....


i am creating a application like website blocking, by using linux(C Language) and C#,
Linux is the Server. I am using Multithread in c the problem is if i am going to browse 20 sites, its opening and working properly... after that thread is not creating... can u plz tel me the solution for this..

推荐答案

查看任何API创建线程的返回码。如果没有创建线程,返回代码应该给出一个合理的解释原因。


这是一个很多人忽视的重要细节。
Look at the return code for any API creating threads. If the thread is not created, the return code should give a reasonable explanation why not.

This is an important detail that many people overlook.


这篇关于c中的多线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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