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

[Linux-cluster] Re: Simple dlm demo program, and a bug...

On Wed, Oct 13, 2004 at 11:40:07AM -0400, Daniel Phillips wrote:
> On Wednesday 13 October 2004 11:10, you wrote:
> > >  struct dlm_lksb *lksb;
> >
> > This should point to something.
> Thanks Patrick, just a little too bleary-eyed to see that right away...
> OK, here is the little libdlm demo that grabs and releases a lock,
> without the benefit of the dumbed-down pthreads interface, including
> forking off a thread to run the dispatch function.  This should make
> things a little easier for the next innocent victim to head into this
> part of the woods.

I think I'll put it in the doc directory I think, it might stand more chance of
being found. But then given how out-of-date the doc file was...maybe not!
> I'd like to encourage you to divide up libdlm as you suggested, there's
> no way of getting rid of libpthread otherwise, not to mention that real
> men only write reentrant code ;-)

Yes. I'll add it to my TODO list, it shouldn't really take too long.


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