answersLogoWhite

0

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

Still curious? Ask our experts.

Chat with our AI personalities

RossRoss
Every question is just a happy little opportunity.
Chat with Ross
ReneRene
Change my mind. I dare you.
Chat with Rene
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake

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?

The kernel in Unix-based operating systems like Linux is called the "Linux kernel." In Windows Vista, the kernel is known as the "Windows NT kernel." Each kernel serves as the core component of the operating system, managing system resources, providing essential services, and facilitating communication between software and hardware components.


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.