2006年4月18日
摘要: It's easy to use google calendar in Office.The help page is: http://www.google.com/support/calendar/bin/answer.py?answer=37648&query=ical&topic=0&type=fScreenshot:I'm using Office2007 Beta. And I thin... 阅读全文
posted @ 2006-04-18 14:41 万俊峰Kevin 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 对于static data member的initialization,如果是在multi-threading的环境下,可以采用如下方法初始化: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 if (s_data ==... 阅读全文
posted @ 2006-04-18 12:01 万俊峰Kevin 阅读(763) 评论(3) 推荐(0) 编辑
摘要: 前一阵在一个project中使用了ReaderWriterLock,发现了两个问题: Performance非常差 UpgradeToWriterLock并不是atomic的从ReaderLock转换到WriterLock,而是等同于"lock.ReleaseReaderLock(); lock.AcquireWriterLock();"。这样的semantics有一定的迷惑性,... 阅读全文
posted @ 2006-04-18 11:55 万俊峰Kevin 阅读(2033) 评论(3) 推荐(1) 编辑