rane 05/09/10 21:36:57 Modified: xml/htdocs/doc/en/articles l-posix3.xml Log: typo fix from #105306
Revision Changes Path 1.4 +4 -4 xml/htdocs/doc/en/articles/l-posix3.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/articles/l-posix3.xml?rev=1.4&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/articles/l-posix3.xml?rev=1.4&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/articles/l-posix3.xml.diff?r1=1.3&r2=1.4&cvsroot=gentoo Index: l-posix3.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-posix3.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- l-posix3.xml 10 Sep 2005 21:20:16 -0000 1.3 +++ l-posix3.xml 10 Sep 2005 21:36:57 -0000 1.4 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-posix3.xml,v 1.3 2005/09/10 21:20:16 rane Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-posix3.xml,v 1.4 2005/09/10 21:36:57 rane Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/articles/l-posix3.xml"> @@ -23,8 +23,8 @@ version of the original article, and contains various improvements made by the Gentoo Linux Documentation team --> -<version>1.1</version> -<date>2005-07-28</date> +<version>1.2</version> +<date>2005-09-10</date> <chapter> <title>Improve efficiency with condition variables</title> @@ -251,7 +251,7 @@ } int control_activate(data_control *mycontrol) { int mystatus; - if (pthread_mutex_lock&(mycontrol->mutex))) + if (pthread_mutex_lock(&(mycontrol->mutex))) return 0; mycontrol->active=1; pthread_mutex_unlock(&(mycontrol->mutex)); -- [email protected] mailing list
