Hello,

 

I'd suggest to use condition variables.

Wait for a signal at the caller thread and create a signal at the callback.

 

Cheers,

MyungJoo. 

 

--------- Original Message ---------

Sender : Ugur Basural <[email protected]>

Date : 2020-11-27 23:53 (GMT+9)

Title : [Dev] async/await functionality on Tizen API

 

Hello once again. I am using some API functions that works asynchronously (tizen.filesystem.resolve etc.). I need to wait until the operation is completely done but I don't how to wait for the responses of these functions. What should I return when I call this method by adding await before the method? Nice Regards, 

_______________________________________________

Dev mailing list

[email protected]

https://protect2.fireeye.com/v1/url?k=6255070e-3dce3e17-62548c41-000babff3793-06c8c86eb36d5660&q=1&e=b3319d23-1a54-45f1-bc10-7283de23e7ec&u=https%3A%2F%2Flists.tizen.org%2Flistinfo%2Fdev

 

 

 

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to