---
title: CFRunLoopSourceContext
framework: corefoundation
role: symbol
role_heading: Structure
path: corefoundation/cfrunloopsourcecontext
---

# CFRunLoopSourceContext

A structure that contains program-defined data and callbacks with which you can configure a version 0 CFRunLoopSource’s behavior.

## Declaration

```swift
struct CFRunLoopSourceContext
```

## Topics

### Initializers

- [init()](corefoundation/cfrunloopsourcecontext/init().md)
- [init(version:info:retain:release:copyDescription:equal:hash:schedule:cancel:perform:)](corefoundation/cfrunloopsourcecontext/init(version:info:retain:release:copydescription:equal:hash:schedule:cancel:perform:).md)

### Instance Properties

- [cancel](corefoundation/cfrunloopsourcecontext/cancel.md)
- [copyDescription](corefoundation/cfrunloopsourcecontext/copydescription.md)
- [equal](corefoundation/cfrunloopsourcecontext/equal.md)
- [hash](corefoundation/cfrunloopsourcecontext/hash.md)
- [info](corefoundation/cfrunloopsourcecontext/info.md)
- [perform](corefoundation/cfrunloopsourcecontext/perform.md)
- [release](corefoundation/cfrunloopsourcecontext/release.md)
- [retain](corefoundation/cfrunloopsourcecontext/retain.md)
- [schedule](corefoundation/cfrunloopsourcecontext/schedule.md)
- [version](corefoundation/cfrunloopsourcecontext/version.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)

## See Also

### Data Types

- [CFRunLoopSourceContext1](corefoundation/cfrunloopsourcecontext1.md)
