Re: Locking issue in message.c
- From: Pawel Salek <pawsa TheoChem kth se>
- To: Emmanuel <e allaud wanadoo fr>
- Cc: ML de Balsa <balsa-list gnome org>
- Subject: Re: Locking issue in message.c
- Date: Wed, 15 May 2002 09:21:08 +0200
On 2002.05.14 17:53 Emmanuel wrote:
> Hi all,
> There is a locking issue I don't quite understand in message.c : why
> don't we lock the source and destination mailboxes when we copy
> messages between 2 mailboxes (in libbalsa_message[s]_copy)? I can't
> actually imagine a scenario where this could be harmful, but I think
> we should lock them while we modify their contents.
The mailboxes should definetely be MT-locked when their contents is
accessed/modified.
-pawel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]