I want to make actions handling asynchronous

Hi,

I want to make actions asynchronous , that means when action is fired , a master thread return ok while it will indicate the worker thread to start work on that and worker thread will update status or provide notification when it has finish its work.

You can do that by returning CONFD_DELAYED_RESPONSE in your action callback and at a later time invoke confd_delayed_reply_ok( ) when your worker thread is ready to respond. You can refer to Chapter 6.9, Delayed Replies, of the ConfD User Guide for a more detailed discussion on this topic.