Re: pango_layout_set_text not returning?
- From: Havoc Pennington <hp redhat com>
- To: Jason Tackaberry <tack auc ca>
- Cc: gtk-list gtk org
- Subject: Re: pango_layout_set_text not returning?
- Date: 24 Jan 2002 10:26:12 -0500
Jason Tackaberry <tack auc ca> writes:
> Anyway, I believe the problem is a race condition with the fork -- or
> more specifically, the handler for SIG_CHLD. I'm doing gtk+ things
> inside the handler, which of course can interrupt other gtk functions
> and, I presume, cause some internal inconsistency.
Yeah, that would cause reentrancy. You can't do stuff in signal
handlers. Well, only very very limited stuff.
> So perhaps in lieu of that, I'll use a pipe(), add an input handler, and
> just have the child write to the pipe when it's done. That way the
> parent's flow is serialized.
Yep, that's a good approach.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]