# Callbacks in Threads not Called

**URL:** <https://forum.legato.io/t/callbacks-in-threads-not-called/5994>\
**Category:** Legato Application Framework\
**Created:** [October 8, 2021, 3:50pm UTC](https://forum.legato.io/t/callbacks-in-threads-not-called/5994 "2021-10-08T15:50:02Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [October 11, 2021, 9:37pm UTC](https://forum.legato.io/t/callbacks-in-threads-not-called/5994/6 "2021-10-11T21:37:39Z")

</div>

Better use event api() as it is proven to be working

I think the way you are using is not recommended.  
Here says circular dependency is not recommended to avoid deadlocks:

> [@IPC API interfaces binding queries](https://forum.legato.io/t/ipc-api-interfaces-binding-queries/2997/2):
>
> Hi, By default, each app runs in its own sandbox. When an app is constructed, all the IPC services it needs are declared. At runtime, the Supervisor and the Service Directory enforce that only those approved IPC services are accessed by the app. Approval is specified through “bindings”. Binding is between Client and Server. CLient -Server can be 2 applications or 2 components in application which are 2 different process. This dictates the need for bindings. Check this link ([Application Defini…](http://legato.io/legato-docs/latest/defFilesAdef.html#defFilesAdef_bindings)

---

_[View the full topic](https://forum.legato.io/t/callbacks-in-threads-not-called/5994)._
