Changeset 6a4ef0c for libcfa/src/concurrency/invoke.h
- Timestamp:
- Nov 10, 2022, 12:14:23 PM (18 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- a757ba1
- Parents:
- 5ce0659
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/invoke.h
r5ce0659 r6a4ef0c 197 197 // intrusive link fields, used for locks, monitors and any user defined data structure 198 198 // default link fields for dlist 199 __cfa_dlink 1(thread$) user_link;199 __cfa_dlink(thread$) user_link; 200 200 201 201 // secondary intrusive link fields, used for global cluster list 202 202 // default link fields for dlist 203 __cfa_dlink 2(thread$, cltr_link);203 __cfa_dlink(thread$) cltr_link; 204 204 205 205 // used to store state between clh lock/unlock … … 244 244 } 245 245 246 P9_EMBEDDED(thread$, thread$.cltr_link) 247 P9_EMBEDDED(thread$.cltr_link, dlink(thread$)) 246 static inline tytagref(typeof(((struct thread$ *)0p)->cltr_link), dlink(thread$)) ?`inner( struct thread$ & this ) { 247 typeof(this.cltr_link) & ib = this.cltr_link; 248 dlink(thread$) & b = ib`inner; 249 tytagref(typeof(this.cltr_link), dlink(thread$)) result = { b }; 250 return result; 251 } 252 253 P9_EMBEDDED(typeof(((struct thread$ *)0p)->cltr_link), dlink(thread$)) 248 254 249 255 static inline void ?{}(__monitor_group_t & this) {
Note: See TracChangeset
for help on using the changeset viewer.