Mirror of https://git.kernel.org/pub/scm/libs/ieee1394/libhinawa.git for user support and continuous integration. I/O library for IEEE 1394 asynchronous transactions to/from units on the bus, with GObject Introspection.
GNU Lesser General Public License v2.1
7
stars
8
forks
source link
[PATCH 0/2] fw_req: obsolete usage of `sync` and `async` suffixes for method #93
As issued in #89 , in the convention of GNOME project, the keywords, sync and async, are used to distinguish asynchronous I/O. I misunderstood and misuse them for blocking/non-blocking API in Hinawa.FwReq.
This commit adds an alternative function to deprecate the previous methods. Hinawa.FwReq.request() is newly added to obsolete Hinawa.FwReq.transaction_async(). Hinawa.FwReq.transaction_with_tstamp_sync() is renamed to Hinawa.FwReq.transaction_with_tstamp() and obsoletes Hinawa.FwReq.transaction_sync().
As a result, user space application is encouraged to use Hinawa.FwReq.transaction_with_tstamp(), Hinawa.FwReq.request().
As issued in #89 , in the convention of GNOME project, the keywords,
sync
andasync
, are used to distinguish asynchronous I/O. I misunderstood and misuse them for blocking/non-blocking API inHinawa.FwReq
.This commit adds an alternative function to deprecate the previous methods.
Hinawa.FwReq.request()
is newly added to obsoleteHinawa.FwReq.transaction_async()
.Hinawa.FwReq.transaction_with_tstamp_sync()
is renamed toHinawa.FwReq.transaction_with_tstamp()
and obsoletesHinawa.FwReq.transaction_sync()
.As a result, user space application is encouraged to use
Hinawa.FwReq.transaction_with_tstamp()
,Hinawa.FwReq.request()
.