- File:
-
- 1 edited
-
libcfa/src/concurrency/clib/cfathread.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/clib/cfathread.cfa
rc715e5f r75965a6 237 237 238 238 typedef ThreadCancelled(cfathread_object) cfathread_exception; 239 typedef vtable(ThreadCancelled(cfathread_object)) cfathread_vtable;239 typedef ThreadCancelled_vtable(cfathread_object) cfathread_vtable; 240 240 241 241 void defaultResumptionHandler(ThreadCancelled(cfathread_object) & except) { … … 283 283 284 284 typedef ThreadCancelled(__cfainit) __cfainit_exception; 285 typedef vtable(ThreadCancelled(__cfainit)) __cfainit_vtable;285 typedef ThreadCancelled_vtable(__cfainit) __cfainit_vtable; 286 286 287 287 void defaultResumptionHandler(ThreadCancelled(__cfainit) & except) { … … 326 326 } 327 327 328 #pragma GCC visibility push(default)329 330 328 //================================================================================ 331 329 // Main Api 332 330 extern "C" { 333 int cfathread_cluster_create(cfathread_cluster_t * cl) __attribute__((nonnull(1))) libcfa_public{331 int cfathread_cluster_create(cfathread_cluster_t * cl) __attribute__((nonnull(1))) { 334 332 *cl = new(); 335 333 return 0; 336 334 } 337 335 338 cfathread_cluster_t cfathread_cluster_self(void) libcfa_public{336 cfathread_cluster_t cfathread_cluster_self(void) { 339 337 return active_cluster(); 340 338 } 341 339 342 int cfathread_cluster_print_stats( cfathread_cluster_t cl ) libcfa_public{340 int cfathread_cluster_print_stats( cfathread_cluster_t cl ) { 343 341 #if !defined(__CFA_NO_STATISTICS__) 344 342 print_stats_at_exit( *cl, CFA_STATS_READY_Q | CFA_STATS_IO );
Note:
See TracChangeset
for help on using the changeset viewer.