> -----Original Message-----
> From: Patrick Ohly [mailto:patrick.ohly at intel.com]
> Sent: Monday, May 19, 2014 12:26 PM
> To: Schaufler, Casey
> Cc: Lukasz Wojciechowski; dev at lists.tizen.org> Subject: Re: [Dev] libcynara API
>> 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()?
Do you plan to do that, or is this another hypothetical exercise?
> I can imagine multiple outcomes, some less pleasant than others.
> Whatever the outcome is, please document it.
Patrick, you are not going to get the level of documentation you
keep demanding. Read what's there. Look at the code. Ask specific
questions that are relevant to actual uses.
> > > 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.
It's not trivial, but it isn't like no one has ever done it, either.
> --
> 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.
>>