CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - lock
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - lock - List
[
Process-Thread
]
Sendm
DL : 0
实现自动向其它进程的窗口发消息,模拟手动操作的功能,并且实现windows 2000操作系统的自动登陆,登陆后立刻锁定工作站。代码演示了注册表的使用,user32库中锁定工作站Lockworkstation函数的使用等。-automatic process to other reports from the window, simulating the operation of manual functions, windows 2000 and achieve operating system's automatic landing, the landing immediately after locking workstations. Code demonstration of the use of the registry, user32 library Lockworkstation lock function workstation use.
Date
: 2008-10-13
Size
: 65.09kb
User
:
宋益波
[
Process-Thread
]
shakang
DL : 0
在linux平台下运行的多进程运行的程序,在其间共享锁以实现通讯。-running under Multi-process operation procedures, in which shared lock to achieve communication.
Date
: 2008-10-13
Size
: 1.52kb
User
:
yuhao
[
Process-Thread
]
synclock
DL : 0
超级简单实用的同步锁类,WIN32 VC 开发-Super simple and practical synchronous lock, WIN32 VC
Date
: 2008-10-13
Size
: 917byte
User
:
May Hero
[
Process-Thread
]
os-banker
DL : 0
操作系统中银行家算法的演示程序,银行家算法是避免死锁的方法,避免死锁的法则是,系统在运行过程中,对于进程的每一种资源请求都要根据预掌握的资源使用信息,按照一定的算法,进行是否可能导致死锁的预测,以决定是否同意这一资源请求。这是向前看几步,知道保证不会导致死锁时再向前走一步的具有动态性质的预测算法。-operating system bankers algorithm Demonstration Program, bankers algorithm is a method to avoid deadlock and avoid deadlock the law is, the system in the process, the process for each type of resource in accordance with the request of the resources available to advance the use of information, according to some algorithm, leading to the possibility of death lock projections to decide whether the resource requests. This is a forward-looking steps, guaranteed not know Deadlock lead again when forward step with the dynamic nature of the forecast algorithm.
Date
: 2008-10-13
Size
: 1.6kb
User
:
邱孝杰
[
Process-Thread
]
ckaar
DL : 0
使用ntdll.dll中未公布的函数实现的资源读写加锁的例子-An example of realising resource lock of reading and writing by using unpublished function in ntdll.d
Date
: 2026-01-11
Size
: 3kb
User
:
站长
[
Process-Thread
]
os-banker
DL : 0
操作系统中银行家算法的演示程序,银行家算法是避免死锁的方法,避免死锁的法则是,系统在运行过程中,对于进程的每一种资源请求都要根据预掌握的资源使用信息,按照一定的算法,进行是否可能导致死锁的预测,以决定是否同意这一资源请求。这是向前看几步,知道保证不会导致死锁时再向前走一步的具有动态性质的预测算法。-operating system bankers algorithm Demonstration Program, bankers algorithm is a method to avoid deadlock and avoid deadlock the law is, the system in the process, the process for each type of resource in accordance with the request of the resources available to advance the use of information, according to some algorithm, leading to the possibility of death lock projections to decide whether the resource requests. This is a forward-looking steps, guaranteed not know Deadlock lead again when forward step with the dynamic nature of the forecast algorithm.
Date
: 2026-01-11
Size
: 1kb
User
:
邱孝杰
[
Process-Thread
]
RWLock
DL : 0
读写锁: 一个简单的支持多个读,一个写控制源码-Read-write lock: the support of more than a simple read, a write control source
Date
: 2026-01-11
Size
: 4kb
User
:
Frank
[
Process-Thread
]
Sendm
DL : 0
实现自动向其它进程的窗口发消息,模拟手动操作的功能,并且实现windows 2000操作系统的自动登陆,登陆后立刻锁定工作站。代码演示了注册表的使用,user32库中锁定工作站Lockworkstation函数的使用等。-automatic process to other reports from the window, simulating the operation of manual functions, windows 2000 and achieve operating system's automatic landing, the landing immediately after locking workstations. Code demonstration of the use of the registry, user32 library Lockworkstation lock function workstation use.
Date
: 2026-01-11
Size
: 65kb
User
:
宋益波
[
Process-Thread
]
shakang
DL : 0
在linux平台下运行的多进程运行的程序,在其间共享锁以实现通讯。-running under Multi-process operation procedures, in which shared lock to achieve communication.
Date
: 2026-01-11
Size
: 1kb
User
:
yuhao
[
Process-Thread
]
synclock
DL : 0
超级简单实用的同步锁类,WIN32 VC 开发-Super simple and practical synchronous lock, WIN32 VC
Date
: 2026-01-11
Size
: 1kb
User
:
May Hero
[
Process-Thread
]
CriticalSectionMFC
DL : 0
多线程保护区的上锁与解锁,本地线程上锁保护的一个类.-Multi-threaded protected areas locked and unlocked, the local thread lock to protect a class.
Date
: 2026-01-11
Size
: 9kb
User
:
路香群
[
Process-Thread
]
producer-consumer-problem
DL : 0
Introduction In this project, we will design a programming solution to the bounded-buffer problem using the producer and consumer processes . The solution uses three semaphores: empty and full, which count the number of empty and full slots in the buffer, and mutex, which is a binary (or mutual exclusive) semaphore that protects the actual insertion or removal of items in the buffer. For this project, standard counting semaphores will be used for empty and full, and, rather than a binary semaphore, a mutex lock will be used to represent mutex. The producer and consumer – running as separate threads – will move items to and from a buffer that is synchronized with these empty, full, and mutex structures. You are required to use the pthread package to solve this problem in this project. And there can be several producers/consumers as many as you want. -Introduction In this project, we will design a programming solution to the bounded-buffer problem using the producer and consumer processes. The solution uses three semaphores: empty and full, which count the number of empty and full slots in the buffer, and mutex, which is a binary (or mutual exclusive) semaphore that protects the actual insertion or removal of items in the buffer. For this project, standard counting semaphores will be used for empty and full, and, rather than a binary semaphore, a mutex lock will be used to represent mutex. The producer and consumer- running as separate threads- will move items to and from a buffer that is synchronized with these empty, full, and mutex structures. You are required to use the pthread package to solve this problem in this project.And there can be several producers/consumers as many as you want.
Date
: 2026-01-11
Size
: 94kb
User
:
MidnightD
[
Process-Thread
]
RWLock
DL : 0
实现了面向多线程应用程序的读写锁,支持并发读,互斥写-For the realization of multi-threaded applications to read and write lock to support the concurrent read, exclusive write
Date
: 2026-01-11
Size
: 1kb
User
:
neil
[
Process-Thread
]
Lock
DL : 0
Date
: 2026-01-11
Size
: 50kb
User
:
zjy
[
Process-Thread
]
Lock
DL : 0
Mutex锁的封装类,设计精良,初学者必看-Mutex lock package categories, well-designed, beginners must-see
Date
: 2026-01-11
Size
: 1kb
User
:
sander
[
Process-Thread
]
Lock
DL : 0
用于多线程下同步的锁,多个线程互斥的情况下,基于临界区的,同步方式。 -Synchronize multiple threads for the lock, multiple threads mutually exclusive case, based on critical areas, and synchronization
Date
: 2026-01-11
Size
: 1kb
User
:
黎伟
[
Process-Thread
]
lock
DL : 0
读写锁 进程 线程 操作系统 解锁lock-write and read lock
Date
: 2026-01-11
Size
: 3.32mb
User
:
李娜
[
Process-Thread
]
lock-free-wait-free-circularfifo
DL : 0
lock-free, wait-free 先进先出队列,用于多线程编程中-lock-free, wait-free FIFO queue for multithreaded programming
Date
: 2026-01-11
Size
: 513kb
User
:
dongkun
[
Process-Thread
]
VC-lock-computer-capscreen-ect
DL : 0
VC锁定远程计算机、获取屏幕、控制鼠标等实例源码 VC锁定远程计算机、获取屏幕、控制鼠标等实例源码-VC lock remote computer capscreen srccode ect,VC lock remote computer capscreen srccode ect,VC lock remote computer capscreen srccode ect,VC lock remote computer capscreen srccode ect.
Date
: 2026-01-11
Size
: 51kb
User
:
yang
[
Process-Thread
]
lock和多线程
DL : 0
C#,lock和多线程的简单例子,使用线程的好处·使用线程可以把占据长时间的程序中的任务放到后台去处理 ·用户界面可以更加吸引人,这样比如用户点击了一个按钮去触发某些事件的处理,可以弹出一个进度条来显示处理的进度 ·程序的运行速度可能加快 ·在一些等待的任务实现上如用户输入、文件读写和网络收发数据等,线程就比较有用了。在这种情况下可以释放一些珍贵的资源如内存占用等等。(A simple example of C#, lock, and multithreading, the benefits of using threads and using threads, can be used to put tasks in a long time program into the background The user interface can be more attractive, for example, if a user clicks a button to trigger some event processing, a progress bar can be popped to display the progress of the process The program may run at a faster rate Threads are more useful in some of the waiting task implementations, such as user input, file read and write, and network send and receive data. In this case, you can release some valuable resources, such as memory usage and so on.)
Date
: 2026-01-11
Size
: 27kb
User
:
新手上路跑起来
«
1
2
3
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.