-
Please read your package and describe it at least 40 bytes in English.
System w...
Please read your package and describe it at least 40 bytes in English.
System will automatically delete the directory of debug and release, so please do not put files on these two directory.
- 2022-09-19 03:35:03下载
- 积分:1
-
MSK/GMSK的各种解调方式汇总,包含理论推导和软硬件实现的详细介绍...
MSK/GMSK的各种解调方式汇总,包含理论推导和软硬件实现的详细介绍-MSK/GMSK Demodulation summary of the various, including the theoretical derivation and detailed description of hardware and software to achieve
- 2022-01-30 19:16:58下载
- 积分:1
-
(基于H.323协议族)voip综述及常用算法实现。
(基于H.323协议族)voip综述及常用算法实现。-(Based on the H.323 protocol suite) voip Summary and commonly used algorithm.
- 2022-01-30 12:19:03下载
- 积分:1
-
FPGA串口通信模块(DE1-SOC)
用于FPGA用蓝牙无线发送数据或者用于有线串口通信,比如将数据发送至电脑端,用电脑应用程序或者matlab等处理数据。
- 2023-08-05 16:00:04下载
- 积分:1
-
55 full
55个手机JAVA全屏触屏游戏.多用于触模屏方面.经典手机游戏源码,十分难得.-55 full-screen touch screen phone JAVA games. More respect for the touch screen. Classic mobile game source code, is very rare.
- 2022-03-15 02:47:22下载
- 积分:1
-
linux epoll模型
该代码是关于在linux平台下的网络编程,epoll模型,socket接受线程:C语言为了高并发所以选择了epoll。当程序启动的时候(g_net_update.c文件中main函数,会启动一个thread见函数create_accept_task)这个thread就处理一件事情,只管接收客户端的连接,当有连接进来的时候 通过epoll_ctl函数,把socket fd 加入到epoll里面去,epoll设置监听事件EPOLLIN | EPOLLET; 主要是监听的是加入到epoll中的socket是否可读(因为我的需求是客户端连上了server就会马上向server发送一份数据的)。其它的部分在主线程中处理。主线程:是一个无线循环,epoll_wait 函数相当于把客户端的连接从epoll中拿出来(因为我们监听的是EPOLLIN | EPOLLET)说明这个时候客户端有数据发送过来)。再通过recv_buffer_from_fd 函数把客户端发送过来的数据读出来。然后其他的一切就抛给线程池去处理。线程池:(代码中我会在池里面创建15个线程) 双向链表。加入线程就是在链表后面加一个链表项,链表的前面会一个一个被拿出来处理。主要是malloc 函数free函数,sem_wait函数sem_post的处理(sem_wait 会阻塞当值大于0是会减一,sem_post是值加一)。typedef void* (FUNC)(void arg, int index);是我们自定义的线程的逻辑处理部分,arg是参数,index是第几个线程处理(我们隐形的给每个线程都标了号),例如代码中的respons_stb_info,更加具体可以看看代码里面是怎么实现的。聪明的你也可以改掉这块的内容改成动态线程池,当某个时刻的处理比较多的时候能够动态的增加线程,而不像我代码里面的是固定的。数据库连接池:按照我的需求在处理客户端请求数据的时候是要访问数据库的。就是一下子创建出一堆的数据连接。要访问数据库的时候先去数据库连接池中找出空闲的连接,具体可以看下代码。使用的时候可以参考下database_process.c文件(代码中数据库连接池和线程池中的个数是一样的)。
- 2022-03-20 03:15:54下载
- 积分:1
-
dos Serial data transmission base class
dos下串口数据传输的基类-dos Serial data transmission base class
- 2022-01-26 16:11:51下载
- 积分:1
-
usb communication procedures FOSS
usb 通讯程序源码-usb communication procedures FOSS
- 2022-04-09 02:41:23下载
- 积分:1
-
First half of this year the company I am now prepared a flowmeter products PC Mo...
今年上半年我为现公司一款流量计产品编写的上位机Modbus通讯程序(下位机程序也是我用C编写的,由于受到法律许可限制,在此不能上传,不过在将来我会把设计思路传上共享),包括自创的Modbus协议的Delphi实现及其完整调用,还有一份我编写的该产品的完整的Modbus协议说明书,非常有参考价值。-First half of this year the company I am now prepared a flowmeter products PC Modbus communications procedures (the procedures are under-bit machine I use C prepared, because of license restrictions by law, can not upload here, but I will in the future design ideas Chuan-share), including self-Modbus protocol Delphi to achieve their full call, there is also a preparation of the product I am a complete Modbus protocol specification, a very good reference material.
- 2022-08-13 19:53:43下载
- 积分:1
-
it is an efficient method to calculate the Multi User Detection in MC
it is an efficient method to calculate the Multi User Detection in MC-CDMA
- 2022-03-03 17:30:57下载
- 积分:1