Thread Suspension

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

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