Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2012 02:00:21 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-threads@FreeBSD.org
Subject:   Re: threads/168317: commit references a PR
Message-ID:  <201205300200.q4U20Lx9045658@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR threads/168317; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: threads/168317: commit references a PR
Date: Wed, 30 May 2012 01:54:23 +0000 (UTC)

 Author: davidxu
 Date: Wed May 30 01:54:14 2012
 New Revision: 236276
 URL: http://svn.freebsd.org/changeset/base/236276
 
 Log:
   MFC r236135:
   
   Return EBUSY for PTHREAD_MUTEX_ADAPTIVE_NP too when the mutex could not
   be acquired.
   
   PR:	168317
 
 Modified:
   stable/8/lib/libthr/thread/thr_mutex.c
 Directory Properties:
   stable/8/lib/libthr/   (props changed)
 
 Modified: stable/8/lib/libthr/thread/thr_mutex.c
 ==============================================================================
 --- stable/8/lib/libthr/thread/thr_mutex.c	Wed May 30 01:52:53 2012	(r236275)
 +++ stable/8/lib/libthr/thread/thr_mutex.c	Wed May 30 01:54:14 2012	(r236276)
 @@ -484,6 +484,7 @@ mutex_self_trylock(struct pthread_mutex 
  	switch (m->m_type) {
  	case PTHREAD_MUTEX_ERRORCHECK:
  	case PTHREAD_MUTEX_NORMAL:
 +	case PTHREAD_MUTEX_ADAPTIVE_NP:
  		ret = EBUSY; 
  		break;
  
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205300200.q4U20Lx9045658>