---
title: CFRunLoopGetCurrent()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cfrunloopgetcurrent()
---

# CFRunLoopGetCurrent()

Returns the CFRunLoop object for the current thread.

## Declaration

```swift
func CFRunLoopGetCurrent() -> CFRunLoop!
```

## Return Value

Return Value Current thread’s run loop. Ownership follows the The Get Rule.

## Discussion

Discussion Each thread has exactly one run loop associated with it.

## See Also

### Related Documentation

- [Threading Programming Guide](apple-archive/documentation/Cocoa/Conceptual/Multithreading/Introduction.md)
- [Concurrency Programming Guide](apple-archive/documentation/General/Conceptual/ConcurrencyProgrammingGuide/Introduction.md)

### Getting a Run Loop

- [CFRunLoopGetMain()](corefoundation/cfrunloopgetmain().md)
