代码搜索:以太网同步
找到约 2,725 项符合「以太网同步」的源代码
代码结果 2,725
www.eeworm.com/read/249104/4457418
java~9~ mediator.java~9~
package threadmediator;
public class Mediator {
private int number;//存储槽
private boolean slotFull = false;
public int count;//计数器
void Mediator()
{
count=1;
}
//同步化,避免两个
www.eeworm.com/read/249104/4457425
java~8~ mediator.java~8~
package threadmediator;
public class Mediator {
private int number;//存储槽
private boolean slotFull = false;
public int count;//计数器
void Mediator()
{
count=1;
}
//同步化,避免两个
www.eeworm.com/read/249104/4457430
java~10~ mediator.java~10~
package threadmediator;
public class Mediator {
private int number;//存储槽
private boolean slotFull = false;
public int count;//计数器
void Mediator()
{
count=1;
}
//同步化,避免两个
www.eeworm.com/read/249104/4457437
java~28~ mediator.java~28~
package threadmediator;
public class Mediator {
private int number;//存储槽
private boolean slotFull = false;
//同步化,避免两个线程同时执行
public synchronized void storeMessage (int num) {
whil
www.eeworm.com/read/249104/4457440
java~11~ mediator.java~11~
package threadmediator;
public class Mediator {
private int number;//存储槽
private boolean slotFull = false;
public int count;//计数器
void Mediator()
{
count=1;
}
//同步化,避免两个
www.eeworm.com/read/373606/9448331
c main.c
//------------------------------------------------------------------------------
// MN核心模块以太网测试程序
// CGI WEB服务器测试程序
// 版本:V2.1
// 核心模块物理参数:
// 1.主频:22.1184MHZ
// 2.RAM:片内4K,片外32K+256K(MAX)
//
www.eeworm.com/read/443411/7633369
c udp.c
#include
extern xdata union IP_address temp_ip_address; //用于存放临时IP地址
extern xdata union Ethernet_address my_ethernet_address; //本机的以太网地址
extern xdata union IP_address my_ip_a
www.eeworm.com/read/443411/7633374
c tcp.c
#include
extern xdata union IP_address temp_ip_address; //用于存放临时IP地址
extern xdata union Ethernet_address my_ethernet_address; //本机的以太网地址
extern xdata union IP_address my_ip_a
www.eeworm.com/read/368533/9690415
c main.c
//------------------------------------------------------------------------------
// MN核心模块以太网测试程序
// CGI WEB服务器测试程序
// 版本:V2.1
// 核心模块物理参数:
// 1.主频:22.1184MHZ
// 2.RAM:片内4K,片外32K+256K(MAX)
//
www.eeworm.com/read/248322/12583905
txt hnxxcxg互斥.txt
互斥(mutex)
互斥比较类似阻塞,关键在于互斥可以跨进程的线程同步,很多只允许应用程序运行一次的实例就是用互斥方法来实现的。互斥用到以下的API函数:
createMutex(), 创建互斥对象。
releaseMutex(), 解除互斥关系。
互斥的一般使用流程:
首先createMutex创建互斥对象,然后waitForSingleObject进入互斥环境,当用到同步的代码执 ...