Skip to content

Using Sdbus-c++ has dependency to Server Start way? #250

Description

@Allen1218

Environment description

  • sdbus C++ version : 0.8.3
  • Using sdbus-c++ system, not session.

Quenstion decription

Start Server way --- "./server ", then client and server coommunicate is good.

But another start server way --- "./server &", then client and server communicate is bad. Meanwhile, in this case, I using "dbus-monitor --system" that can not catch the bus message.

sdbus server code program

sdbus server has coded by multi-thread, then connection is start in main thread, server method receicve client message in another thread.

Looking forward to you reply!

In my case, must using muti-thread in sdbus client communicate with server. would you tell me, how to this question reason?
Thanks very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions