CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - Critical Section
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
GUI Develop
Windows Kernel
WinSock-NDIS
Driver Develop
ADO-ODBC
GDI-Bitmap
CSharp
.net
Multimedia Develop
Communication
Shell api
ActiveX/DCOM/ATL
IME Develop
ISAPI-IE
Hook api
Screen saver
DirextX
Process-Thread
Console
File Operate
Printing program
Multi Monitor
DNA
Other
Search - Critical Section - List
[
Other
]
51_ARM_DSP
DL : 0
在实时嵌入式控制系统中,指令周期对系统的性能有至关重要的影响。介绍几种最常用的微控制器的工作机制,采用一段循环语句对这几种微控制器的指令周期进行测试,并进行分析比较。-In real-time embedded control systems, command cycle on the performance of the system have a critical influence. Introduction of several most commonly used microcontrollers working mechanism, using a section of these different kinds of loop microcontroller instruction cycle test, and analysis and comparison.
Date
: 2025-12-18
Size
: 196kb
User
:
黄超
[
Other
]
Code3
DL : 0
事件内核对象、关键代码段(临界区)的讲解,以及在多线程同步中的应用。在Windows下编写基于消息的网络应用程序,掌握阻塞与非阻塞网络程序的编写,理解在Windows平台下,采用异步选择机制可以提高网络应用程序的性能。-Event kernel object, the key to the explanation of the code segment (critical section), and synchronization in multithreaded applications. Master blocking and non-blocking network program to write message-based network applications, understanding the the the asynchronous selection mechanism can improve the performance of network applications under the Windows platform, written under Windows.
Date
: 2025-12-18
Size
: 41kb
User
:
张媛媛
[
Other
]
codeandtext
DL : 0
首先,在执行读操作时,一旦没有写者,读者会进入写者临界区writerCritical.enterCriticalSection(),直到最后读者人数等于0时,离开写者临界区,因此,写者执行写操作,进入写者临界区时,需等待,直到没有读者为止;其次,每个写者进行写操作时,必须首先进入写者临界区,而synchronized关键字定义的方法,使得同一时间同步方法不允许被多次调用,这就保证了不可能有两个写者同时工作。所以,只允许一个写着对文件执行写操作。-First, perform a read operation, if they are not writers, readers who write critical region will enter writerCritical.enterCriticalSection (), until the last readership is equal to zero, leaving writers critical region, therefore, writing to execute a write operation, enter the write those critical areas, the need to wait until there are no readers so far Second, each writer to write, you must first enter the critical section writer, and synchronized keyword defined methods, making at the same time synchronization method allowed to be repeated call, which guarantees not have two write work simultaneously. Therefore, only one written on the file for write access.
Date
: 2025-12-18
Size
: 90kb
User
:
funny
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.