Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Using await Task.Run

More
20 May 2017 13:30 #5170 by support
Replied by support on topic Using await Task.Run
Yes, doing so is safe.

Please Log in or Create an account to join the conversation.

More
19 May 2017 18:52 #5169 by hcvoort
Replied by hcvoort on topic Using await Task.Run
Oke, I will come back on this subject if I encounter issues. Another related question: Can one instance of the EasyUaClient be used by multiple threads at the same time, or do I have to lock the instance untill the instance method is finished?

Please Log in or Create an account to join the conversation.

More
18 May 2017 14:21 #5164 by support
Replied by support on topic Using await Task.Run
This has not been tested, so I cannot really give you a positive or negative answer.
You need to try it yourself.

If you run into problems, report it here, and we will have a look at it.

Best regards

Please Log in or Create an account to join the conversation.

More
18 May 2017 11:17 #5160 by hcvoort
Using await Task.Run was created by hcvoort
Dear Sir/Madam,

Is it possible to use

await Task.Run(()=>{EasyUAClient.XXXXX;}); together with an async method

or will this potentially cause a deadlock?

BR,

Carsten Voort

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.043 seconds