1
1
openmpi/opal/mca/btl/tcp
Nathan Hjelm 03f4a854cb btl/tcp: fix add_procs race condition
This commit fixes a race between a thread calling the tcp btl's
add_procs and a thread processing an incomming connection. The race
occured because the add_procs thread adds a newly created proc object
to the hash table *before* the object is fully initialized. The
connection thread then attempts to use the object before the endpoints
array on the object has beeen allocation. The fix is to only add the
proc to the hash table after it has been completely initialized.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-04-27 10:24:39 -06:00
..
btl_tcp_addr.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
btl_tcp_component.c Add missing include 2016-03-30 01:34:01 -07:00
btl_tcp_endpoint.c btl/tcp: add missing mca_btl_tcp_dump() subroutine 2016-03-30 16:10:15 +09:00
btl_tcp_endpoint.h btl/tcp: add missing mca_btl_tcp_dump() subroutine 2016-03-30 16:10:15 +09:00
btl_tcp_frag.c Remove compiler warnings. 2016-04-04 16:34:23 -04:00
btl_tcp_frag.h Update the copyright and cleanup the code. 2016-03-28 14:41:01 -04:00
btl_tcp_ft.c Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
btl_tcp_ft.h Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
btl_tcp_hdr.h Update the copyright and cleanup the code. 2016-03-28 14:41:01 -04:00
btl_tcp_proc.c btl/tcp: fix add_procs race condition 2016-04-27 10:24:39 -06:00
btl_tcp_proc.h Update the copyright and cleanup the code. 2016-03-28 14:41:01 -04:00
btl_tcp.c btl/tcp: add missing mca_btl_tcp_dump() subroutine 2016-03-30 16:10:15 +09:00
btl_tcp.h Fixed Coverity reports 1358014-1358018 (DEADCODE and CHECK_RETURN) 2016-04-07 12:52:17 -04:00
configure.m4 m4: rename OMPI_SUMMARY_* macros to OPAL_SUMMARY_* 2016-04-20 08:40:00 -07:00
help-mpi-btl-tcp.txt Update the copyright and cleanup the code. 2016-03-28 14:41:01 -04:00
Makefile.am Purge whitespace from the repo 2015-06-23 20:59:57 -07:00
owner.txt add owner files to opa/ompi/orte mca directories 2015-02-22 15:10:23 -07:00