[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Locking (specifically, sequences)
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] Locking (specifically, sequences) |
Date: |
Mon, 11 Mar 2013 12:06:08 -0400 |
>i propose that
>the locking fopen function in the MH library be adapted to be willing to
>try the advisory lock three times at one second intervals, on the
>assumption that no writer will hold the lock that long and if there's a
>convoy then we've got bigger problems. (ideally we'd do a wait-lock in a
>thread and kill that thread if it waits too long, but threads would not
>be "the MH way".)
I guess I was thinking in my head of the lock completely blocking, but
you think that having a timeout makes more sense? I'm neutral on that.
There's not a portable way of having a lock timeout other than loop/sleep,
is there?
--Ken
- Re: [Nmh-workers] Locking (specifically, sequences), (continued)
- Re: [Nmh-workers] Locking (specifically, sequences), David Levine, 2013/03/09
- Re: [Nmh-workers] Locking (specifically, sequences), David Levine, 2013/03/09
- Re: [Nmh-workers] Locking (specifically, sequences), David Levine, 2013/03/09
- Re: [Nmh-workers] Locking (specifically, sequences), Ken Hornstein, 2013/03/09
- Re: [Nmh-workers] Locking (specifically, sequences), chad, 2013/03/09
- Re: [Nmh-workers] Locking (specifically, sequences), Ken Hornstein, 2013/03/10
- Re: [Nmh-workers] Locking (specifically, sequences), Paul Vixie, 2013/03/11
- Re: [Nmh-workers] Locking (specifically, sequences),
Ken Hornstein <=
- Re: [Nmh-workers] Locking (specifically, sequences), Paul Vixie, 2013/03/11
- Re: [Nmh-workers] Locking (specifically, sequences), Ken Hornstein, 2013/03/11
- Re: [Nmh-workers] Locking (specifically, sequences), Valdis . Kletnieks, 2013/03/11
- Re: [Nmh-workers] Locking (specifically, sequences), Paul Vixie, 2013/03/11
- Re: [Nmh-workers] Locking (specifically, sequences), Valdis . Kletnieks, 2013/03/11
- Re: [Nmh-workers] Locking (specifically, sequences), Lyndon Nerenberg, 2013/03/11
- Re: [Nmh-workers] Locking (specifically, sequences), Paul Vixie, 2013/03/12
- Re: [Nmh-workers] Locking (specifically, sequences), Lyndon Nerenberg, 2013/03/12
- Re: [Nmh-workers] Locking (specifically, sequences), Ken Hornstein, 2013/03/12
- Re: [Nmh-workers] Locking (specifically, sequences), Valdis . Kletnieks, 2013/03/12