On Mon, 2014-05-19 at 19:18 +0000, Schaufler, Casey wrote:
> > I can't spawn a thread either to handle the call, because libcynara is not
> > documented to be thread-safe. I don't want to make assumptions about
> > what I may or may not do with threads.
> 
> You can count on libcynara being thread safe.

What happens when one thread calls cynara_finish() while another is in
cynara_check()?

I can imagine multiple outcomes, some less pleasant than others.
Whatever the outcome is, please document it.

> > I'll stop here, because that's the show-stopper for me.
> 
> OK, that's all you needed to ask.

You seem to assume that adding multithreading to a process is trivial. I
don't agree, but okay, let's assume that it is.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.



_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to