You are on page 1of 7

OS SYNCHRONIZATION

IN
WINDOWS 2000

Renjith Radhakrishnan
MCA B-5
The windows 2000 operating
system is a multithreaded kernel
that provides support for real-
time applications and multiple
processors.
the kernel accesses the global
resource by masking the interrupts that
may also access the global resource.

windows 2000 protects the access to


global resource using spinlocks.
Dispatcher object

-thread synchronization .
-threads can be synchronized
according to several methods
like mutexes,semaphores and
events.
-may be in two different states.
 Signaled state

- indicates that an
object is available and a thread will not
block when accessing that object.
 Non signaled state
-indicates that an
object is not available and the thread will
block when attempting to access that
object.
Dispatcher object vs
Thread
- when a thread blocks a dispatcher
object , its state changes from ready to
waiting .The thread is placed in the waiting
queue.

- when the state of a dispatcher object


moves to signaled state , the kernel checks if
there are any threads waiting on the object .
If so , the kernel moves the threads from
waiting to ready state.