This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using LibFFI along with threads


>>>>> "Hans" == Hans Oesterholt-Dijkema <hdnews@gawab.com> writes:

Hans> Would it be possible to create an FFI object using libffi
Hans> that is called from within a thread?

I started looking at the source, but I think it would be simpler if
you explained what you're trying to do.

If you want to make a call via libffi and have the called function
make a new thread, then make the real ffi call in that new thread --
sure, this is possible.  You can pass CIFs and argument arrays around
quite easily.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]