rane 05/09/13 22:10:35 Modified: xml/htdocs/doc/en/articles l-posix3.xml Log: fix from 105248
Revision Changes Path 1.5 +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.5&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.5&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.4&r2=1.5&cvsroot=gentoo Index: l-posix3.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-posix3.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- l-posix3.xml 10 Sep 2005 21:36:57 -0000 1.4 +++ l-posix3.xml 13 Sep 2005 22:10:35 -0000 1.5 @@ -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.4 2005/09/10 21:36:57 rane Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/articles/l-posix3.xml,v 1.5 2005/09/13 22:10:35 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.2</version> -<date>2005-09-10</date> +<version>1.3</version> +<date>2005-09-14</date> <chapter> <title>Improve efficiency with condition variables</title> @@ -244,7 +244,7 @@ int mystatus; if (pthread_cond_destroy(&(mycontrol->cond))) return 1; - if (pthread_cond_destroy(&(mycontrol->cond))) + if (pthread_mutex_destroy(&(mycontrol->cond))) return 1; mycontrol->active=0; return 0; -- [email protected] mailing list
