Hi.
Under a PAS ABL Application instance 'Advanced Settings' folder, there is boolean option for "Thread Safe External Libraries".
Does this need to also be enabled in conjunction with setting the THREAD-SAFE attribute on the external procedure declaration in your code?
TIA.
If you select the "Thread Safe External Libraries" option, the usingThreadSafeExtLib=1 property will be set in openedge.properties. This property overrides all external procedure declarations, treating them as thread-safe even if the code doesn't have the THREAD-SAFE option. This is convenient if all of your external procedures are thread-safe since you won't have to modify the code to mark each as THREAD-SAFE individually. So, no, you don't need to set the THREAD-SAFE option on the external procedure declarations if you enable the "Thread Safe External Libraries" option.
If you select the "Thread Safe External Libraries" option, the usingThreadSafeExtLib=1 property will be set in openedge.properties. This property overrides all external procedure declarations, treating them as thread-safe even if the code doesn't have the THREAD-SAFE option. This is convenient if all of your external procedures are thread-safe since you won't have to modify the code to mark each as THREAD-SAFE individually. So, no, you don't need to set the THREAD-SAFE option on the external procedure declarations if you enable the "Thread Safe External Libraries" option.
Flag this post as spam/abuse.