Previous: Closure Example, Up: Using libffi [Index]
libffi is not completely thread-safe. However, many parts are, and if you follow some simple rules, you can use it safely in a multi-threaded program.
libffi
ffi_prep_cif
ffi_type
ffi_cif
Currently the only affected platform is PowerPC and the only affected type is long double.
long double