Let $X$ be a (Tychonoff) topological space. Consider $C\left(X\right)$ being a topological vector space of all continuous scalar-valued functions with the compact-open topology.
Assume that $Y$ is a barreled space and $T$ is a linear map from $Y$ into $C\left(X\right)$ having a closed graph.
Could you please advice me the conditions on $X$, which would allow to apply the Closed Graph Theorem?
Clearly the assumption that $C\left(X\right)$ is an F-space (which is equivalent for $X$ to be hemicompact and compactly generated) is sufficient, but these two conditions are too restrictive.
For instance, it would be wonderful, if the second assumption alone was enough.
Thank you.