summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore/ecore_private.h
diff options
context:
space:
mode:
authorMike McCormack <mikem@atratus.org>2012-11-06 10:49:05 +0000
committerMike McCormack <mikem@ring3k.org>2012-11-06 10:49:05 +0000
commit5faaa68c99bf3b1555595e0cb952cf3148df13cc (patch)
tree67e517af07eb3c425fcd6848f1c1d53c56878e6d /legacy/ecore/src/lib/ecore/ecore_private.h
parent3b16fb0fe3d3f50c7bef4039eb07f87b6d9a12b6 (diff)
ecore: Add thread safety support to ecore pipe
Fixes hang in edje_codegen with thread safe ecore enabled. ecore_shutdown takes lock, then calls _ecore_pipe_read, which makes callbacks without unlocking ecore. Signed-off-by: Mike McCormack <mikem@atratus.org> SVN revision: 78937
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_private.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_private.h b/legacy/ecore/src/lib/ecore/ecore_private.h
index ce1199765c..f0add822fe 100644
--- a/legacy/ecore/src/lib/ecore/ecore_private.h
+++ b/legacy/ecore/src/lib/ecore/ecore_private.h
@@ -170,6 +170,20 @@ void *_ecore_event_signal_exit_new(void);
170void *_ecore_event_signal_power_new(void); 170void *_ecore_event_signal_power_new(void);
171void *_ecore_event_signal_realtime_new(void); 171void *_ecore_event_signal_realtime_new(void);
172 172
173Ecore_Pipe *_ecore_pipe_add(Ecore_Pipe_Cb handler,
174 const void *data);
175int _ecore_pipe_wait(Ecore_Pipe *p,
176 int message_count,
177 double wait);
178void *_ecore_pipe_del(Ecore_Pipe *p);
179
180Ecore_Fd_Handler *
181 _ecore_main_fd_handler_add(int fd,
182 Ecore_Fd_Handler_Flags flags,
183 Ecore_Fd_Cb func,
184 const void *data,
185 Ecore_Fd_Cb buf_func,
186 const void *buf_data);
173void *_ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler); 187void *_ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler);
174 188
175void _ecore_main_shutdown(void); 189void _ecore_main_shutdown(void);