[portals4] r2284 committed - Fix issues with unique naming on some platforms to eliminate intermitt...

0 views
Skip to first unread message

port...@googlecode.com

unread,
Oct 14, 2014, 11:16:54 AM10/14/14
to portals4...@googlegroups.com
Revision: 2284
Author: regra...@gmail.com
Date: Tue Oct 14 15:16:46 2014 UTC
Log: Fix issues with unique naming on some platforms to eliminate
intermittent failures on init


https://code.google.com/p/portals4/source/detail?r=2284

Modified:
/trunk/src/ib/ptl_shmem.c

=======================================
--- /trunk/src/ib/ptl_shmem.c Wed Oct 2 21:26:45 2013 UTC
+++ /trunk/src/ib/ptl_shmem.c Tue Oct 14 15:16:46 2014 UTC
@@ -537,7 +537,7 @@
if (ni->options & PTL_NI_PHYSICAL) {
/* Create a unique name for the shared memory file. */
snprintf(comm_pad_shm_name, sizeof(comm_pad_shm_name),
- "/portals4-shmem-pid%d-%d", ni->id.phys.pid, ni->options);
+ "/portals4-shmem-pid%d", ni->id.phys.pid);
} else {
/* Create a unique name for the shared memory file. Use the hash
* created from the mapping. */
Reply all
Reply to author
Forward
0 new messages