# set_thread_poster

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-system/threading/tasks/function-set_thread_poster/

**function** · [`ferroui-system`](/docs/0.5.0/api/ferroui-system/) · v0.5.0

```rust
fn set_thread_poster(poster: Option<ThreadPoster>)
```

Makes `poster` the way other threads reach the current thread (the `SynchronizationContext` of
the thread): a wake of one of its futures from another thread is posted through it, and the
work it is given must run on this thread. `None` removes it. It is the schedule of the thread
([`crate::task::set_thread_schedule`](/docs/0.5.0/api/ferroui-system/task/function-set_thread_schedule/)).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/threading/tasks/local_executor.rs#L85)

> **Deprecated since 0.5.0.** use `ferroui_system::task::set_thread_schedule` with a `Schedule`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
