summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore/efl_thread.c')
-rw-r--r--src/lib/ecore/efl_thread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore/efl_thread.c b/src/lib/ecore/efl_thread.c
index 9fc6b8d882..97b7897522 100644
--- a/src/lib/ecore/efl_thread.c
+++ b/src/lib/ecore/efl_thread.c
@@ -666,7 +666,7 @@ _efl_thread_efl_task_run(Eo *obj, Efl_Thread_Data *pd)
// input/output pipes
if (td->flags & EFL_TASK_FLAGS_USE_STDIN)
{
- if (pipe(pipe_from_thread) != 0)
+ if (eina_pipe_new(pipe_from_thread) != 0)
{
ERR("Can't create to_thread pipe");
free(thdat);
@@ -675,7 +675,7 @@ _efl_thread_efl_task_run(Eo *obj, Efl_Thread_Data *pd)
}
if (td->flags & EFL_TASK_FLAGS_USE_STDOUT)
{
- if (pipe(pipe_to_thread) != 0)
+ if (eina_pipe_new(pipe_to_thread) != 0)
{
ERR("Can't create from_thread pipe");
if (td->flags & EFL_TASK_FLAGS_USE_STDIN)
@@ -723,13 +723,13 @@ _efl_thread_efl_task_run(Eo *obj, Efl_Thread_Data *pd)
}
// control pipes
- if (pipe(pipe_to_thread) != 0)
+ if (eina_pipe_new(pipe_to_thread) != 0)
{
ERR("Can't create to_thread control pipe");
_task_run_pipe_fail_clear(thdat, pd);
return EINA_FALSE;
}
- if (pipe(pipe_from_thread) != 0)
+ if (eina_pipe_new(pipe_from_thread) != 0)
{
ERR("Can't create from_thread control pipe");
_task_run_pipe_fail_clear(thdat, pd);