Commit 6d14ed3a authored by Sergey Lyubka's avatar Sergey Lyubka

thread_setup -> thread_start

parent 0fb5db59
...@@ -129,8 +129,8 @@ struct mg_callbacks { ...@@ -129,8 +129,8 @@ struct mg_callbacks {
void (*thread_start)(void *user_data, void **conn_data); void (*thread_start)(void *user_data, void **conn_data);
// Called when mongoose's thread is about to terminate. // Called when mongoose's thread is about to terminate.
// Same as thread_setup() callback, but called when thread is about to be // Same as thread_start() callback, but called when thread is about to be
// destroyed. Used to cleanup the state initialized by thread_setup(). // destroyed. Used to cleanup the state initialized by thread_start().
// Parameters: see thread_start(). // Parameters: see thread_start().
void (*thread_stop)(void *user_data, void **conn_data); void (*thread_stop)(void *user_data, void **conn_data);
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment