Hi out there,
I would like lock-free join two linked list in Fortran+OpenMP.
Therefore I need to change a pointer atomically. This should not be any problem in C/C++, but in Fortran I do not manage to :(
The following code is rejected by the Intel Compiler with the error:
error #7646: A store statement is expected in an OpenMP* ATOMIC construct.
!$omp atomic
last_job%next => tmp_first_job
!$omp end atomic
Is there any work-around?
Will there be support of the "=>" operation in future?
regards,
Jens Henrik



