[techtalk] SMP/threaded programming
Serena Del Bianco
serena at serena.dhis.org
Wed Oct 20 21:20:14 EST 1999
On Fri, 22 Oct 1999, TeknoDragon wrote:
> On Wed, 20 Oct 1999, Serena Del Bianco wrote:
>
> yes, I understand SMP programming concepts...
>
> as I said, I was assuming I could garuntee testset was an *atomic*
> function... i.e. indivisible and possibly smaller than the timeslice of a
> scheduler... like a few i/o functions... (don't care to look them up now)
>
> I'd probably have to look over the SMP kernel source and see what they use
> for semaphores...
>
Have a look at spinlock.h
"lock ; btsl $0,%0\n\t"
dunno if that's what you're looking for...
Serena
************
techtalk at linuxchix.org http://www.linuxchix.org
More information about the Techtalk
mailing list