Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

thread_lock_i.h

Go to the documentation of this file.
00001 // AUTOMATICALLY GENERATED -- DO NOT EDIT!         -*- c++ -*-
00002 
00003 #ifndef thread_lock_i_h
00004 #define thread_lock_i_h
00005 #include "lock_guard.h"
00006 #include "cpu_lock.h"
00007 #include "thread_state.h"
00008 
00009 //
00010 // IMPLEMENTATION of inline functions follows
00011 //
00012 
00013 
00014 
00019 inline Context * const
00020 Thread_lock::context() const
00021 {
00022   // We could have saved our context in our constructor, but computing
00023   // it this way is easier and saves space.  We can do this as we know
00024   // that thread_locks are always embedded in their corresponding
00025   // context.
00026   return context_of (this);
00027 }
00028 
00029 #endif // thread_lock_i_h

Generated on Mon Sep 26 14:20:12 2005 for Fiasco by  doxygen 1.4.2