paragui-users
[Top][All Lists]
Advanced

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

Re: [paragui-users] Puzzled newbie question


From: Andrew Agno
Subject: Re: [paragui-users] Puzzled newbie question
Date: Mon, 29 Apr 2002 06:55:04 -0700 (PDT)

Alexander Pipelka writes:
 > Am Mon, 2002-04-29 um 09.23 schrieb Guillaume Schmid:
 > Right. Every widget locks it's mutex for processing an event. After
 > eventprocessing this mutex is unlocked.
 > If the widget gets deleted while processing the event it will segfault.
 > 
 > Hmm...
 > How can we solve this ?
 > Any suggestions, anyone ?

Haven't dug too deeply into the code, but there's a few options off
the top of my head:

- use reference counted mutexes
- use a garbage collector (maybe just for mutexes)
- defer deletions by using requests for deletion

Andrew.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]