diff options
author | Jason Molenda <jmolenda@apple.com> | 2014-03-13 02:54:54 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2014-03-13 02:54:54 +0000 |
commit | aac16e0f809a7e7a78dc5d0bb63a0e0a294761e6 (patch) | |
tree | e263c74cc27dbcb6591115ba3f9cd55ecbe33e92 /lldb/scripts/Python/interface | |
parent | 4b4b2478fc4a08d035a7653ae7acaa1853553b34 (diff) | |
download | bcm5719-llvm-aac16e0f809a7e7a78dc5d0bb63a0e0a294761e6.tar.gz bcm5719-llvm-aac16e0f809a7e7a78dc5d0bb63a0e0a294761e6.zip |
Add a SBQueue::GetKind() method to retrieve the type of libdispatch queue (serial or concurrent).
<rdar://problem/7964505>
llvm-svn: 203748
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBQueue.i | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBQueue.i b/lldb/scripts/Python/interface/SBQueue.i index 7f48166f6c2..52724032a87 100644 --- a/lldb/scripts/Python/interface/SBQueue.i +++ b/lldb/scripts/Python/interface/SBQueue.i @@ -27,12 +27,30 @@ public: lldb::SBProcess GetProcess (); + %feature("autodoc", " + Returns an lldb::queue_id_t type unique identifier number for this + queue that will not be used by any other queue during this process' + execution. These ID numbers often start at 1 with the first + system-created queues and increment from there. + ") + GetQueueID; + lldb::queue_id_t GetQueueID () const; const char * GetName () const; + %feature("autodoc", " + Returns an lldb::QueueKind enumerated value (e.g. eQueueKindUnknown, + eQueueKindSerial, eQueueKindConcurrent) describing the type of this + queue. + ") + GetKind(); + + lldb::QueueKind + GetKind(); + uint32_t GetIndexID () const; |