A few remarks about locking
- From: Emmanuel <e allaud wanadoo fr>
- To: ML de Balsa <balsa-list gnome org>
- Subject: A few remarks about locking
- Date: Mon, 25 Mar 2002 16:54:28 +0100
Hi all,
It's written in a comment before the function
libbalsa_mailbox_load_messages(LibBalsaMailbox * mailbox) (in
libbalsa/mailbox.c) that it must be called with the gdk lock held. But I
think it's false. In fact I even try it without the gdk lock and it works
perfectly. I think that it is because we don't use any UI function (we
only emit signals and process the libmutt headers).
But what seems strange to me is that in this function we process libmutt
datas without holding the mutt lock, is this correct (think of another
thread calling libmutt to change the same mailbox --> big mess).
And you what do you think ? ;-)
Bye
Manu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]