winlin

add reload config comments for config.

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