Modify Port::Write() method
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 18 Jan 2023 06:20:02 +0000 (06:20 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 18 Jan 2023 06:44:24 +0000 (06:44 +0000)
commit3103055ec62f1074ba1ffe5817ef7fd8abd72476
treee98823e4d101c69d000025f53d966bb898545f09
parentb581d145bb37721302cad020ebc8cfc729fa1a99
Modify Port::Write() method

After this patch is applied, if the cache buffer is not empty, the
rpc-port library checks the socket whether writing is possible or not.
If it's possible, the rpc-port library writes the delayed message to
the socket fd.

Change-Id: If54967bbc7fce4d4494b9fee44d8dcfe5e57de50
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/port-internal.cc