---
title: Associate
framework: DriverKit
role: symbol
role_heading: Instance Method
path: driverkit/ioeventlink/associate
---

# Associate

## Declaration

```occ
kern_return_t Associate(uint64_t options);
```

## Parameters

- `options`: Options for Associate(). Use kIOEventLinkAssociateCurrentThread or kIOEventLinkAssociateOnWait.

## Return Value

Return Value kIOReturnSuccess on success. See IOReturn.h for error codes.

## Discussion

Discussion Associate a thread with the eventlink. The eventlink should be activated before this call. This is not real-time safe.
