mg_lock_context( ctx );
ctx
struct mg_context *
none
mg_lock_connection();
mg_unlock_connection();
mg_unlock_context();