This month’s Effective Concurrency column, “Eliminate False Sharing”, is now live on DDJ’s website.
People keep writing asking me about my previous mentions of false sharing, even debating whether it’s really a problem. So this month I decided to treat it in depth, including:
A compelling and realistic example where just changing a couple [...]
简单说,所谓OpenSolaris是一个Sun的开源项目,而Solaris是Sun公司的基于OpenSolaris推出的一个自己的产品。
Solaris和OpenSolaris的关系与Redhat和Fedora的关系是类似的。
Sun被Oracle收购以后,Oracle一贯是支持linux的,而opensolaris不是GPL发布的,所以不能利用很多linux上现成的驱动,对一些硬件的支持工作需要慢慢来,这个成本是很高的。
对于Oracle来说,要么选择放弃opensolaris,要么以GPL重新发布,要不然,白花花的银子用来扩展硬件支持,到头来在x86上抢linux的市场仿佛没什么太大的好处。
在使用VS2008打开一个2005的firebird工程,进行编译时,发生一个关于_vsnprintf 的错误
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) : error C3163: “_vsnprintf”: 属性与以前的声明不一致
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(350) : 参见“_vsnprintf”的声明
同样的_snprintf 也有类似问题.
是因为VC9 CRT重定义了该函数
解决的方法是:
#if _MSC_VER < 1500
#define snprintf _snprintf
#define vsnprintf _vsnprintf
#endif
Seen at a gas station:
You know your UI has usability issues when people tape multiple signs on your gas pump to help people get through the intricate and error-prone process of purchasing fuel.
Why does the upper note exist? The trouble is that there’s a Debit button but not a Credit [...]
-
Articles
- March 2011
- November 2010
- September 2010
- August 2010
- June 2010
- April 2010
- March 2010
- December 2009
- September 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- November 2008
- October 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- August 2007
- June 2007
- May 2007
- April 2007
- March 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- January 2006
-
Meta

