1 Reply Latest reply on Jul 1, 2011 2:42 AM by compres

    Are popshm_memcpy_put and popshm_memcpy_get synchronous or asynchronous?

    erniechan

      Are the popshm put and get routines synchronous?

      What happens when two cores try to overwrite the same region of memory at the same time (creating a race conditition)?

       

      For instance, RCCE_shmalloc and RCCE_shfree are blocking, collective operations, but reading and writing to that shared memory is asynchronous, so locks can be used to eliminate race conditions.  I suspect that the same must be done when using POPSHM.