Re: callbacks: doing i/o bound stuff in them




Just a silly question now: Why isn't gtk+ preemptible? It may be a silly idea, but why not "stack"
callbacks? Or is it something that cannot be implemented?

What do you mean by preemptible? I think it is the question of
"reentrancy" rather than "preemption"? Gtk+ is preemptible.... but not
thread safe... Gtk+ is not meant to be called simultaneouly from
different threads... it doesn't internally protect its data
structure...

Regards,
Santhosh.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]