Struct lldb::SBQueueItem [] [src]

pub struct SBQueueItem {
    pub raw: SBQueueItemRef,
}

A work item enqueued on a libdispatch aka Grand Central Dispatch (GCD) queue.

Most often, this will be a function or block.

"enqueued" here means that the work item has been added to a queue but it has not yet started executing. When it is "dequeued", execution of the item begins.

Fields

The underlying raw SBQueueItemRef.

Methods

impl SBQueueItem
[src]

[src]

Construct a new SBQueueItem.

[src]

Construct a new Some(SBQueueItem) or None.

[src]

Check whether or not this is a valid SBQueueItem value.

[src]

The kind of this work item.

[src]

The code address that will be executed when this work item is executed.

Not all queue items will have an address associated with them. QueueItemKind::Function and QueueItemKind::Block work items should have an address.

[src]

Get an extended backtrace thread for this queue item, if available

If the backtrace/thread information was collected when this item was enqueued, this call will provide it.

The thread_type will typically be one of "libdispatch" or "pthread".

Trait Implementations

impl Drop for SBQueueItem
[src]

[src]

Executes the destructor for this type. Read more