Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

critical.h File Reference

#include "asm.h"

Include dependency graph for critical.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

void enter_critical ()
void leave_critical ()

Variables

unsigned critical_count = 0


Function Documentation

void enter_critical  )  [inline]
 

Enter a critical section of code that should not be interrupted;.

void leave_critical  )  [inline]
 

Leave a critical section of code.


Variable Documentation

unsigned critical_count = 0 [static]
 


Torsion Operating System, Copyright (C) 2000-2004 Dan Helfman