From 6c3b5943e9f39b790164dfddcb56e831f3741c65 Mon Sep 17 00:00:00 2001 From: winlin Date: Sat, 9 Nov 2013 22:53:59 +0800 Subject: [PATCH] add reload config comments for config. --- trunk/src/core/srs_core_config.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trunk/src/core/srs_core_config.hpp b/trunk/src/core/srs_core_config.hpp index 70a9d6469..2c8c34c83 100755 --- a/trunk/src/core/srs_core_config.hpp +++ b/trunk/src/core/srs_core_config.hpp @@ -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 {