Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

MONITOR/MWAIT problem

ntjioe29
Beginner
180 Views
Hello,

I am trying to implement MONITOR/MWAIT in Linux user space but I always get Illegal Instructions when I try to run it. Does anyone willing to share their MONITOR/MWAIT implementation?
0 Kudos
2 Replies
Om_S_Intel
Employee
180 Views
Dmitry_Vyukov
Valued Contributor I
180 Views
Quoting - ntjioe29
Hello,

I am trying to implement MONITOR/MWAIT in Linux user space but I always get Illegal Instructions when I try to run it. Does anyone willing to share their MONITOR/MWAIT implementation?

From my experience they are usually just prohibited in user-space, like CLI/STI.

Reply