Re: [OMPI devel] Ticket #1267 - thread locks in ompi_proc_t code

2008-07-07 Thread Brian W. Barrett
Responding to both of Ralph's e-mails in one, just to confuse people :). First, the issue of the recursive locks... Back in the day, ompi_proc_t instances could be created as a side effect of other operations. Therefore, to maintain sanity, the procs were implicitly added to the master proc l

Re: [OMPI devel] Ticket #1267 - thread locks in ompi_proc_t code

2008-07-07 Thread Ralph H Castain
I will have to correct something here. From what I can see, it appears the MPI code may not be creating ompi_proc_t structures, but rather creating arrays of ompi_proc_t* pointers that are then filled with values equal to the pointers in the ompi_proc_list held inside of ompi/proc/proc.c. It appea

[OMPI devel] Ticket #1267 - thread locks in ompi_proc_t code

2008-07-07 Thread Ralph H Castain
I am seeking input before making a change to the ompi/proc/proc.c code to resolve the referenced ticket. The change could potentially impact how the ompi_proc_t struct is used in the rest of the MPI code base. If this doesn't impact you, please ignore the remainder of this note. I was asked last