File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -513,6 +513,18 @@ _dispatch_queue_get_bound_thread(dispatch_queue_t dq)
513
513
return dq -> dq_thread ;
514
514
}
515
515
516
+ #if __LINUX_PORT_HDD__
517
+ // START HACK: DAVE. These types are not defined anywhere in libdispatch sources,
518
+ // so make something plausible up...
519
+ typedef struct dispatch_pthread_root_queue_observer_hooks_s {
520
+ void (* queue_will_execute )(dispatch_queue_t );
521
+ void (* queue_did_execute )(dispatch_queue_t );
522
+ } dispatch_pthread_root_queue_observer_hooks_s ;
523
+
524
+ typedef struct dispatch_pthread_root_queue_observer_hooks_s *
525
+ dispatch_pthread_root_queue_observer_hooks_t ;
526
+ #endif
527
+
516
528
DISPATCH_ALWAYS_INLINE
517
529
static inline dispatch_pthread_root_queue_observer_hooks_t
518
530
_dispatch_get_pthread_root_queue_observer_hooks (void )
You can’t perform that action at this time.
0 commit comments