หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
inline assembly not allowed directly within a parallel region
Remarks
An omp parallel region cannot contain inline assembly instructions.
Example
The following example generates C3011:
// C3011.cpp
// compile with: /openmp
// processor: /x86
int main() {
int n = 0;
#pragma omp parallel
{
_asm mov eax, n // Delete this line to resolve this error.
} // C3011
}