answersLogoWhite

0


Best Answer

A race condition can occur where a resource that was being waited upon by two data structures/processes is released and both processes try to access it simultaneously. It can also happen where the processor has to assign a unique process ID to two processes that have created at the same time.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Describe two kernel data structures in which race conditions are possible?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the name of kernel in Unix Linux and Windows Vista?

As Unix isn't any particular operating system, there is no distinct name for the kernel. Different versions of Unix may have vastly different kernel structures. The Linux kernel is called, well, the Linux kernel. The Vista kernel is a continuation of the "NT kernel" designed for Windows NT 3.1.


How do you install kernel header files?

OS/distribution dependent, for debian: apt-get install linux-kernel-headersOr you can download the whole kernel-source, which contains the headers as well.


How do you convert a C program into a Linux kernel module?

Quick Answer: You don't. Long Answer: It will need a fundamental change before you can have a module that does anything similar. Kernel modules don't have the same purpose as programs. Kernel Modules are meant for device support and similar things. More than likely you don't actually want to move the program to kernel space.


Difference between kernel mode and user mode?

Kernel ModeIn Kernel mode, the executing code has complete and unrestricted access to the underlying hardware. It can execute any CPU instruction and reference any memory address. Kernel mode is generally reserved for the lowest-level, most trusted functions of the operating system. Crashes in kernel mode are catastrophic; they will halt the entire PC.User ModeIn User mode, the executing code has no ability to directly access hardware or reference memory. Code running in user mode must delegate to system APIs to access hardware or memory. Due to the protection afforded by this sort of isolation, crashes in user mode are always recoverable. Most of the code running on your computer will execute in user mode.


Is Linux a type of utility program?

No, it's an operating system kernel.

Related questions

What are two kernel data structures in which race conditions are possible?

bc


Which number is used to describe kernel level?

14


What is the name of kernel in Unix Linux and Windows Vista?

As Unix isn't any particular operating system, there is no distinct name for the kernel. Different versions of Unix may have vastly different kernel structures. The Linux kernel is called, well, the Linux kernel. The Vista kernel is a continuation of the "NT kernel" designed for Windows NT 3.1.


What is the grammatical system in which sentence structures are derived by transforming kernel sentences?

transformational grammar


Describe the actions by the Kernel to switch between different kernel-level threads belonging to the same process?

1- State of current process is Saved. 2-Restore State of incoming process.


Describe the action taken by a kernel to context switch between kernel level threads?

Context switching between kernel threads typically requires saving the value of the CPU registers from the thread being switched out and restoring the CPU registers of the new thread being scheduled.


What is DBMS kernel?

A DBMS kernal is a type of database. It is usually used in the architecture business world and it consists of software and system-level data structures.


What is the main advantage of the micro kernel approach to system design?

Simplicity. The micro-kernel approach to system design keeps the kernel as small and simple as possible. This means that it is easier to maintain, and will likely contain fewer flaws. However, functionality not implemented inside that kernel (like device drivers) will need to be provided in another way, usually by other programs.


What is Linux virtual kernel for?

The virtual kernel is a kernel that can be used in unbuntu guest. It is a very lean kernel, this helps in reducing overhead. It installs the server kernel via a new name.


What is the core of an operating system?

The Kernel


What kernel is Mac OS X based on?

Mac OS X is based on the XNU kernel, a microkernel Mach kernel with a BSD userland, which makes Mac OS X's kernel a hybrid-kernel.


What type of kernel does Ubuntu use?

Ubuntu uses the Linux kernel, which is a monolithic kernel with loadable modules.