diff options
author | Sung-jae Park <nicesj.park@samsung.com> | 2013-12-27 20:00:48 +0900 |
---|---|---|
committer | Sung-jae Park <nicesj.park@samsung.com> | 2013-12-27 20:00:48 +0900 |
commit | 8bd78fce4189d99090fd53bf8f4117bdadb72006 (patch) | |
tree | c4900e0fb8b1fb170037bf1a04c7720ff7e7ee74 | |
parent | e6c8eb691c5b94c4b6eda196edede7245911ecd0 (diff) | |
parent | 4606105313783d5ee4d3cf22d6c7c5c7466c7b41 (diff) | |
download | com-core-8bd78fce4189d99090fd53bf8f4117bdadb72006.tar.gz com-core-8bd78fce4189d99090fd53bf8f4117bdadb72006.tar.bz2 com-core-8bd78fce4189d99090fd53bf8f4117bdadb72006.zip |
Merge branch 'devel/home/master'
-rw-r--r-- | packaging/libcom-core.spec | 2 | ||||
-rw-r--r-- | src/com-core_thread.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packaging/libcom-core.spec b/packaging/libcom-core.spec index e05f67e..0d1d439 100644 --- a/packaging/libcom-core.spec +++ b/packaging/libcom-core.spec @@ -1,6 +1,6 @@ Name: libcom-core Summary: Library for the light-weight IPC -Version: 0.5.5 +Version: 0.5.6 Release: 1 Group: Base/IPC License: Apache-2.0 diff --git a/src/com-core_thread.c b/src/com-core_thread.c index a6b1ccb..28ff288 100644 --- a/src/com-core_thread.c +++ b/src/com-core_thread.c @@ -536,7 +536,7 @@ static inline struct tcb *tcb_create(int client_fd, int is_sync, int (*service_c return NULL; } - if (pipe2(tcb->evt_pipe, (is_sync ? 0 : O_NONBLOCK) | O_CLOEXEC) < 0) { + if (pipe2(tcb->evt_pipe, O_CLOEXEC) < 0) { ErrPrint("Error: %s\n", strerror(errno)); status = pthread_mutex_destroy(&tcb->chunk_lock); if (status != 0) { @@ -546,7 +546,7 @@ static inline struct tcb *tcb_create(int client_fd, int is_sync, int (*service_c return NULL; } - if (pipe2(tcb->ctrl_pipe, O_NONBLOCK | O_CLOEXEC) < 0) { + if (pipe2(tcb->ctrl_pipe, O_CLOEXEC) < 0) { ErrPrint("Error: %s\n", strerror(errno)); CLOSE_PIPE(tcb->evt_pipe); |