[Splashy-devel] Spurious comments in splashy_functions.c

Luis Mondesi lemsx1 at gmail.com
Fri Mar 28 17:30:57 UTC 2008


On Fri, Mar 28, 2008 at 12:52 PM, John Hughes <john at calva.com> wrote:
> Around line 199 in function "search_pattern"
>
>       /* *_unlocked are a GNU extension: makes function fread thread safe */
>
>  which is the opposite of the truth.  As their name implies the _unlocked
>  functions are thread-unsafe!
>
>  They are safe to use, and faster, if you can be sure only one thread is
>  using the FILE*

I'll have to dig into this to see if only one thread is actually
writing to this handle.

-- 
----)(-----
Luis Mondesi
Maestro Debiano

----- START ENCRYPTED BLOCK (Triple-ROT13) ------
Gur Hohagh [Yvahk] qvfgevohgvba oevatf gur fcvevg bs Hohagh gb gur
fbsgjner jbeyq.
----- END ENCRYPTED BLOCK (Triple-ROT13) ------



More information about the Splashy-devel mailing list