barriers in SMP linux kernel

Posted by osgx on Stack Overflow See other posts from Stack Overflow or by osgx
Published on 2010-04-02T02:49:17Z Indexed on 2010/04/02 2:53 UTC
Read the original article Hit count: 372

Filed under:

Hello

Is there smth like pthread_barrier in SMP Linux kernel?

When kernel works simultaneously on 2 and more CPUs with the same structure, the barrier (like pthread_barrier) can be useful. It will stop all CPUs entering to it until last CPU will run the barrier. From this moment all CPUs again works.

© Stack Overflow or respective owner

Related posts about linux-kernel