Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM SQL » View Thread |
Messages 1 to 3 of 3 total |
Threadsafe question |
Fri, Sep 15 2006 2:09 AM | Permanent Link |
"Clive" | In V4, if i setup custom functions, is it OK to use these in threads?.. I
would assume No, Or yes maybe as long as you dont reference any non-thread variables in the function. If not, is there any other way of having custom functions available in threads as you can only have one engine object per application. cheers Clive. |
Fri, Sep 15 2006 3:37 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Clive
As long as the queries or tables are thread safe.... Roy Lambert |
Fri, Sep 15 2006 3:39 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Clive,
<< In V4, if i setup custom functions, is it OK to use these in threads?.. I would assume No, Or yes maybe as long as you dont reference any non-thread variables in the function. >> Yes, they are thread-safe provided that you don't do anything that isn't thread-safe inside of them. IOW, if you perform data access, then make sure that you use local variables inside of the event handler for all data access components, and make sure that you create a separate session, etc. to ensure that the data access is thread-safe. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |