Re: Locking: kern/50827
From: Brian Fundakowski Feldman (green_at_freebsd.org)
Date: 06/28/04
- Previous message: Brian Fundakowski Feldman: "Re: PF_PACKET"
- In reply to: Stephen Hurd: "Locking: kern/50827"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Jun 2004 15:29:35 -0400 To: Stephen Hurd <shurd@sasktel.net>
On Thu, Jun 24, 2004 at 05:49:19PM -0600, Stephen Hurd wrote:
> Well, possibly due to editorial content, kern/50827 has been completely
> ignored. Not sure exactly the correct method of bringing something like
> this up, but am I the only one who finds flock(), dotlock, and fcntl()
> locks insufficient for their needs? Originally, this patch resulted from
> porting a multi-threaded Win32 program to *nix... however, I've since used
> the features it in a number of programs (for FreeBSD only of course) with
> good success. It really makes locking behave as expected.
>
> Has anyone looked at this? Does anyone have any comments?
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/50827
I don't think you'll ever find anyone interested in file locking anymore.
Since they're all advisory, anyway, you can just implement them at a higher
level in your application. BSD and System V IPC mechanisms already are
very good building blocks here for system-scoped locks.
-- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\ _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Brian Fundakowski Feldman: "Re: PF_PACKET"
- In reply to: Stephen Hurd: "Locking: kern/50827"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]