thread_setup -> thread_start

This commit is contained in:
Sergey Lyubka 2013-08-28 09:53:10 +01:00
parent 0fb5db59d3
commit 6d14ed3a18

View File

@ -129,8 +129,8 @@ struct mg_callbacks {
void (*thread_start)(void *user_data, void **conn_data);
// Called when mongoose's thread is about to terminate.
// Same as thread_setup() callback, but called when thread is about to be
// destroyed. Used to cleanup the state initialized by thread_setup().
// Same as thread_start() callback, but called when thread is about to be
// destroyed. Used to cleanup the state initialized by thread_start().
// Parameters: see thread_start().
void (*thread_stop)(void *user_data, void **conn_data);
};