diff options
author | Ed Maste <emaste@FreeBSD.org> | 2014-11-25 21:00:58 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2014-11-25 21:00:58 +0000 |
commit | 0cac4ca3916ac24ab6139d03cbfd18db9e715bfe (patch) | |
tree | c94307da318be46e5aeea1a325c1e91749506e4f /source/Target/Queue.cpp | |
parent | 03b99097822ca3ac69252d9afae716a584ed56c4 (diff) |
Notes
Diffstat (limited to 'source/Target/Queue.cpp')
-rw-r--r-- | source/Target/Queue.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/source/Target/Queue.cpp b/source/Target/Queue.cpp index 2b9d2a0ed9a41..7cfa6fa5582f0 100644 --- a/source/Target/Queue.cpp +++ b/source/Target/Queue.cpp @@ -23,7 +23,8 @@ Queue::Queue (ProcessSP process_sp, lldb::queue_id_t queue_id, const char *queue m_running_work_items_count(0), m_pending_work_items_count(0), m_pending_items(), - m_dispatch_queue_t_addr(LLDB_INVALID_ADDRESS) + m_dispatch_queue_t_addr(LLDB_INVALID_ADDRESS), + m_kind (eQueueKindUnknown) { if (queue_name) m_queue_name = queue_name; @@ -125,3 +126,15 @@ Queue::GetPendingItems () } return m_pending_items; } + +lldb::QueueKind +Queue::GetKind () +{ + return m_kind; +} + +void +Queue::SetKind (lldb::QueueKind kind) +{ + m_kind = kind; +} |