ok,
Is there other event mechnism automatically ? when thread2 start and subscriber this stream, thread1 can get it right now. when the subscriber is exist(thread2 exist), thread1 can know it right now.
for below case:
1.start thread1, regist notification stream1 by confd_register_notification_stream() and send event notification by confd_notification_send().
- i start thread2 and use the confd_notifications_connect2() and confd_read_notification() to subscriber the stream1 (simulate one subscriber user session )and reveived the related notification from the stream1
thx