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

MONITOR/MWAIT problem

ntjioe29
Beginner
821 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
Dmitry_Vyukov
Valued Contributor I
821 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.

0 Kudos
Reply