1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

How to make the 2 CPUs access a global unaligned variable at the same time?

Discussion in 'Intel' started by Steven Zhou, Jul 31, 2011.

  1. Steven Zhou

    Steven Zhou Guest


    I want to test the atomic access API of my OS.

    Assume that my test board has 4 CPUs (CPU0 ~ CPU3) and I want the
    CPU2 and CPU3 to access a global unaligned 32-bit variable
    simultaneously. How to implement this test by the means of software?
    Trigger IPI to the logical group including CPU2 and CPU3?
    Or any suggestion?

    Thanks in advance.
    Steven Zhou, Jul 31, 2011
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.