Ignore:
Timestamp:
Mar 28, 2017, 1:03:01 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
72dc82a
Parents:
f32a013
Message:

First step in implementing internal scheduling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/invoke.h

    rf32a013 r690f13c  
    3838      };
    3939
     40      struct simple_thread_stack {
     41            struct thread_desc * top;
     42      };
     43
    4044      #ifdef __CFORALL__
    4145      extern "Cforall" {
     
    4347            void append( struct simple_thread_list *, struct thread_desc * );
    4448            struct thread_desc * pop_head( struct simple_thread_list * );
     49
     50            void ?{}( struct simple_thread_stack * );
     51            void push( struct simple_thread_stack *, struct thread_desc * );           
     52            struct thread_desc * pop( struct simple_thread_stack * );
    4553
    4654            void ?{}(spinlock * this);
     
    7482            struct thread_desc * owner;
    7583            struct simple_thread_list entry_queue;
     84            struct simple_thread_stack signal_stack;
     85            struct monitor_desc * stack_owner;
    7686            unsigned int recursion;
    7787      };
Note: See TracChangeset for help on using the changeset viewer.