Hi Mohamed,

> This more to start discussion on protect shared data. I am
> not really familiar with js data so what this patch tried
> to protect is the js object, if thread is running hold
> the main thread to wait until the js thread finish. mean thread
> only block once want to destroy and create new js object.

I looked at this and I don't think we need it. I am protecting the proxy
configuration with a reference count. And the locking inside D-Bus
library is enough for sending out the pending D-Bus result when the JS
execution finished.

Regards

Marcel


_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to