pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] libcurl initialization requirements


From: jemarch
Subject: Re: [pdf-devel] libcurl initialization requirements
Date: Wed, 17 Feb 2010 21:10:45 +0100
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.1.91 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

   > We should not introduce that requirement!  If pdf_init() is supposed
   > to be called only once in the lifetime of the application then we
   > should provide the user a way to determine if it has been called
   > before in an atomic way.
   > 

   Well, a second call to pdf_text_init() for example will not
   re-initialize the text module. I guess we should just make sure things
   are not initialized twice.

Yes, much better.  In that case we would have to use a mutex in
pdf_init.

-- 
Jose E. Marchesi  <address@hidden>
                  http://www.jemarch.net
GNU Project       http://www.gnu.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]