Date: Mon, 27 Dec 2004 03:14:40 GMT From: David Xu <davidxu@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 67741 for review Message-ID: <200412270314.iBR3EeoX076105@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=67741 Change 67741 by davidxu@davidxu_celeron on 2004/12/27 03:14:19 use umtx_init. Affected files ... .. //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_pspinlock.c#5 edit Differences ... ==== //depot/projects/davidxu_thread/src/lib/libthread/thread/thr_pspinlock.c#5 (text+ko) ==== @@ -50,7 +50,7 @@ else if ((lck = malloc(sizeof(struct pthread_spinlock))) == NULL) ret = ENOMEM; else { - UMTX_INIT(&lck->s_lock); + umtx_init(&lck->s_lock); *lock = lck; ret = 0; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412270314.iBR3EeoX076105>