next up previous contents
Next: RTKER's responsiveness to interrupts Up: Framework Previous: Interrupt Service Routine   Contents

Kernel Level Synchronization

The following dummy code illustrates how synchronization while accessing a shared kernel data structure is done without disabling interrupts.
     oskit_u32_t dummy(void)
      {
        do_Context_Switch=0
3.1

	/*
         ................................
          Access any shared kernel data structure
         ................................
        */
        do_Context_Switch=1;
      }


Soumyadeb Mitra 2002-08-07