<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[maosher的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/maosher</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; maosher]]></copyright><item><title><![CDATA[垃圾回收方式]]></title><link>https://blog.csdn.net/maosher/article/details/122037221</link><guid>https://blog.csdn.net/maosher/article/details/122037221</guid><author>maosher</author><pubDate>Mon, 20 Dec 2021 11:16:23 +0800</pubDate><description><![CDATA[引用计数 （智能指针）
性能，循环引用
标记清除方式
从根节点标记所有使用到的对象
清除未使用对象
分代收集 java
golang使用并发三色标记方式回收垃圾

]]></description><category></category></item><item><title><![CDATA[AfxGetMainWnd()在线程里使用的问题]]></title><link>https://blog.csdn.net/maosher/article/details/5839865</link><guid>https://blog.csdn.net/maosher/article/details/5839865</guid><author>maosher</author><pubDate>Thu, 26 Aug 2010 11:16:00 +0800</pubDate><description><![CDATA[<br />AfxGetMainWnd()的使用依赖于线程<br />具体参加源代码<br /><br /> 1_AFXWIN_INLINE CWnd* AFXAPI AfxGetMainWnd()<br /> 2{ CWinThread* pThread = AfxGetThread();<br /> 3   return pThread != NULL ? pThread->GetMainWnd() : NULL; }<br /> 4<br /> 5//而AfxGetThread获取的是当前线程，而不是]]></description><category></category></item></channel></rss>