# Thread Suspension

**URL:** <https://forums.digi.com/t/thread-suspension/5919>\
**Category:** NET+OS\
**Created:** [July 8, 2003, 6:09am UTC](https://forums.digi.com/t/thread-suspension/5919 "2003-07-08T06:09:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/digi/original/1X/11da31a6a1fbcd03ef21d3f785c317c824009ae2.png) [@system](https://forums.digi.com/u/system)\
**Post date:** [July 8, 2003, 6:09am UTC](https://forums.digi.com/t/thread-suspension/5919/1 "2003-07-08T06:09:20Z")

</div>

In some of the examples such as nahttp\root.c and namail\root.c, tx\_thread\_suspend(tx\_thread\_identify()) is called at the end. Should this not be tx\_thread\_terminate? Documentation states a ‘suspended’ thread must be ‘resumed’. Where is the best place to do this? Thanks

---

<div class="post-metadata">

**Author:** ![muscleman](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@muscleman](https://forums.digi.com/u/muscleman)\
**Post date:** [July 14, 2003, 5:19pm UTC](https://forums.digi.com/t/thread-suspension/5919/2 "2003-07-14T17:19:39Z")

</div>

The http server is a listener socket and has an internal therad to run the engine.
