
operations are actually the compare_and_set 32 and 64 bits. For all others atomic there is a fallback in sys/atomic.c For ia32 I add a workaround the ebx register. When compiling with -fPIC ebx is reserved for the shared object interface (store some global pointer). On the same time cmpxchg8b use ebx and ecx to store the new value. The workaround save the ebx content before cmpxchg8b and restore it afterward. There is still a possible bug !!! If we get interrupted between the push and pop of the ebx then we will definitivelly crash ... This commit was SVN r3387.
This is the world's greatest MPI. ...more to write here should be a short file, referring to the real docs.
Описание
Languages
C
82.4%
Fortran
3.8%
Roff
3.7%
Shell
3.3%
Makefile
2.3%
Разное
4.5%