From: Keith Packard Date: Sat, 3 Nov 2007 20:05:25 +0000 (-0700) Subject: Correct documentation for FcAtomicLock (Bug 12947). X-Git-Tag: 2.4.92~36 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=910db318ae67693f7bc17f0bdc61caaf555365ae;p=fontconfig.git Correct documentation for FcAtomicLock (Bug 12947). FcAtomicLock can only be called once from any process. --- diff --git a/doc/fcatomic.fncs b/doc/fcatomic.fncs index 9cd633c..ae27c68 100644 --- a/doc/fcatomic.fncs +++ b/doc/fcatomic.fncs @@ -38,9 +38,9 @@ a consistent and complete file without the need to lock for reading. @TYPE1@ FcAtomic * @ARG1@ atomic @PURPOSE@ lock a file @DESC@ -Attempts to lock the file referenced by atomic. Returns FcFalse if the -file is locked by another process, else returns FcTrue and leaves the file -locked. +Attempts to lock the file referenced by atomic. +Returns FcFalse if the file is already locked, else returns FcTrue and +leaves the file locked. @@ @RET@ FcChar8 *