ADT
        aaron-thesis
        arm-eh
        ast-experimental
        cleanup-dtors
        deferred_resn
        demangler
        enum
        forall-pointer-decay
        jacob/cs343-translation
        jenkins-sandbox
        new-ast
        new-ast-unique-expr
        new-env
        no_list
        persistent-indexer
        pthread-emulation
        qualifiedEnum
        resolv-new
        with_gc
      
      
        
          | 
            Last change
 on this file since 3f8ab8f was             604e76d, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago           | 
        
        
          | 
             
initial setup for general and concurrency papers 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            486 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [604e76d] | 1 | Internal scheduling notes.
 | 
|---|
 | 2 | 
 | 
|---|
 | 3 | Internal scheduling requires a stack or queue to make sense.
 | 
|---|
 | 4 | We also need a stack of "monitor contexts" to be able to restuore stuff.
 | 
|---|
 | 5 | 
 | 
|---|
 | 6 | Multi scheduling try 1 
 | 
|---|
 | 7 |  - adding threads to many monitors and synching the monitors
 | 
|---|
 | 8 |  - Too hard
 | 
|---|
 | 9 | 
 | 
|---|
 | 10 | Multi scheduling try 2
 | 
|---|
 | 11 |  - using a leader when in a group
 | 
|---|
 | 12 |  - it's hard but doable to manage who is the leader and keep the current context
 | 
|---|
 | 13 |  - basically __monitor_guard_t always saves an restore the leader and current context
 | 
|---|
 | 14 |  
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.