add reload config comments for config.

This commit is contained in:
winlin
2013-11-09 22:53:59 +08:00
parent 0813104c6e
commit 6c3b5943e9

View File

@@ -85,6 +85,10 @@ public:
/**
* the config parser.
* for the config supports reload, so never keep the reference cross st-thread,
* that is, never save the SrsConfDirective* get by any api of config,
* for it maybe free in the reload st-thread cycle.
* you can keep it before st-thread switch, or simply never keep it.
*/
class SrsConfig
{