Wes Peters wrote:
>
> Jonas Bulow wrote:
> >
> > Ronald G Minnich wrote:
> > >
> > > I don't know about the "bsd" or whatever way. If you're doing real
> > > parallel programming and want real performance, you'll use a test-and-set
> > > like function that uses the low-level machine instructions for same.
> >
> > That is exacly what I'm looking for! I found it to be overkill to
> > involve the kernel just because I wanted to have a context switch during
> > the "test-and-set".
>
> Precisely how do you expect to "have a context switch" without "involving
> the kernel"?
Sorry, I missed an important word in the sentence above, namely "not". I
don't want to have a context switch during the test-and-set operation.
Now, when I found the code in lockdflt.c (rtle-elf) that doesn't seem to
be a problem.
/j
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message