# Executing and passing data between threads using a delegate call?

**URL:** <https://forums.unrealengine.com/t/executing-and-passing-data-between-threads-using-a-delegate-call/111661>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [June 1, 2018, 7:01pm UTC](https://forums.unrealengine.com/t/executing-and-passing-data-between-threads-using-a-delegate-call/111661 "2018-06-01T19:01:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Manoel.Neto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/manoel.neto/32/1210013_2.png) [@Manoel.Neto](https://forums.unrealengine.com/u/Manoel.Neto)\
**Post date:** [June 2, 2018, 1:32am UTC](https://forums.unrealengine.com/t/executing-and-passing-data-between-threads-using-a-delegate-call/111661/2 "2018-06-02T01:32:55Z")

</div>

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

```auto

AsyncTask(ENamedThreads::GameThread, =]()
{    
    // Code placed here will execute on game thread
});

```

Remember to include “Async.h” in your .cpp

---

_[View the full topic](https://forums.unrealengine.com/t/executing-and-passing-data-between-threads-using-a-delegate-call/111661)._
