mydoghasworms / nwrfc

SAP Netweaver RFC SDK wrapper via Ruby-FFI
http://ceronio.net/nwrfc/
28 stars 14 forks source link

Update nwrfclib.rb #6

Closed Meatballs1 closed 10 years ago

Meatballs1 commented 10 years ago

:blocking => true

This prevents the Global Interpreter Lock being taken by FFI and never returned e.g. when SXPG_COMMAND_EXECUTE runs a function that never returns!

Using this it is possible to run calls in Thread.new but ensure the Connection object exists within the same thread or prepare to get segfaults.