> 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 <[email protected]> http://www.jemarch.net GNU Project http://www.gnu.org
