Bug 12591 - DispatchQueue GCD wrapper is missing method dispatch_set_target_queue
Summary: DispatchQueue GCD wrapper is missing method dispatch_set_target_queue
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 6.3.x
Hardware: Macintosh Mac OS
: --- enhancement
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2013-06-07 07:34 UTC by Jonas Sourlier
Modified: 2013-07-06 12:18 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Jonas Sourlier 2013-06-07 07:34:10 UTC
I can't seem to find the method


in MonoTouch's GCD wrapper classes DispatchQueue, DispatchObject and DispatchGroup.

I'm able to use the method via

        public static extern void dispatch_set_target_queue(IntPtr queue, IntPtr target);

but I think there should be an instance method on the DispatchQueue class for this.
Comment 1 Sebastien Pouliot 2013-06-07 08:14:48 UTC
Right, it's not (presently) bound.

It should be:


since it's one of the (iOS provided) libraries that can be dynamically loaded.
Comment 2 Jonas Sourlier 2013-06-07 13:01:07 UTC
Thanks, but it seems to work with both



Comment 3 Sebastien Pouliot 2013-07-06 12:18:21 UTC
Added in master-3.0 revision 0087be63316b5da7aa89889a680d41076fa6a9b3
QA: unit tests added in the same revision