Changeset 8fc45b7 for src/libcfa/concurrency/monitor
- Timestamp:
- Nov 2, 2017, 4:01:28 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, 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:
- 025278e
- Parents:
- 4cedd9f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/monitor
r4cedd9f r8fc45b7 98 98 99 99 void ?{}( __condition_blocked_queue_t & ); 100 void append( __condition_blocked_queue_t *, __condition_node_t * );101 __condition_node_t * pop_head( __condition_blocked_queue_t *);100 void append( __condition_blocked_queue_t &, __condition_node_t * ); 101 __condition_node_t * pop_head( __condition_blocked_queue_t & ); 102 102 103 103 struct condition { … … 116 116 } 117 117 118 void wait( condition & this, uintptr_t user_info = 0 );119 bool signal( condition & this );120 bool signal_block( condition & this );121 static inline bool is_empty ( condition & this ) { return !this.blocked.head; }122 uintptr_t front( condition & this );118 void wait ( condition & this, uintptr_t user_info = 0 ); 119 bool signal ( condition & this ); 120 bool signal_block( condition & this ); 121 static inline bool is_empty ( condition & this ) { return !this.blocked.head; } 122 uintptr_t front ( condition & this ); 123 123 124 124 //-----------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.