***SPAM*** Re: [ofa-general] [PATCH] libibmad: remove functions which use pthread

Sasha Khapyorsky sashak at voltaire.com
Tue Feb 17 17:49:55 PST 2009


On 17:23 Tue 17 Feb     , Ira Weiny wrote:
> 
> Neither interface is thread safe without the user implementing some
> sort of locking around the calls.

Really? What about this:

int plus_three(int a)
{
	return a + 3;
}

We could extrapolate of course.

Sasha



More information about the general mailing list