Bug 18188 - DispatchQueuePriority does not support DISPATCH_QUEUE_PRIORITY_BACKGROUND
Summary: DispatchQueuePriority does not support DISPATCH_QUEUE_PRIORITY_BACKGROUND
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: 7.2.1
Assignee: Sebastien Pouliot
Depends on:
Reported: 2014-03-05 09:36 UTC by Paul Auman
Modified: 2014-03-21 02:38 UTC (History)
4 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 Paul Auman 2014-03-05 09:36:54 UTC
Apple Docs :


Used to select the appropriate global concurrent queue.

#define DISPATCH_QUEUE_PRIORITY_LOW         (-2)

Items dispatched to the queue run at background priority; the queue is scheduled for execution after all high priority queues have been scheduled and the system runs items on a thread whose priority is set for background status. Such a thread has the lowest priority and any disk I/O is throttled to minimize the impact on the system.
Available in iOS 4.3 and later.
Declared in dispatch/queue.h.

MT :

namespace MonoTouch.CoreFoundation
	public enum DispatchQueuePriority
		High = 2,
		Default = 0,
		Low = -2

Thanks in advance.

Paul Auman
Auman Software, LLC
Comment 1 Sebastien Pouliot 2014-03-05 09:47:18 UTC
The value is presently missing and will be added in a future maintenance release.

The immediate workaround is to use:

    ((DispatchQueuePriority) Int16.MinValue)

in your code.
Comment 2 Sebastien Pouliot 2014-03-05 10:17:42 UTC
Fixed in master 6a85bea04efa4a110e625843391a03fb6fa1a0ed
Comment 3 Paul Auman 2014-03-06 21:10:11 UTC
Thank you.

- Paul
Comment 4 Shruti 2014-03-21 02:38:30 UTC
I have verified this issue in monotouch.dll, DISPATCH_QUEUE_PRIORITY_BACKGROUND has been added.

Reference screenshot to verify : http://screencast.com/t/1k0wPHcqLw

Environment Info:
XS 4.2.4 (build 32) 

Hence, Closing this issue.