os/atomic.h --> include/sys/atomic.h
WARNING: There are almost certainly some bugs introduced here, but I
believe that using this system will get us to a stable and portable
library faster in the long run.
Other changes:
threads/mutex
Reorganized to use pthreads or asm atomic operations as available.
Untested Windows implementation added using InterlockedExchange() funcion.
threads/thread
Added an untested Windows implementation
other places
Updates to include the "right" header files or to use
ompi_atomic_add_int() rather that fetchNadd() etc.
This commit was SVN r2221.
- unpack string allocates memory for user removing need to know/set max string lengths
- fixed missing 'break' in case statement thanks to unit test yet again!
- updated unit test ompi_pack (test8)
- will remove old OMPI_STRING type and support shortly after checking for usage
This commit was SVN r2219.
-- To set up a shared send completion queue,
with that threading is a step away.
-- After the above steps, focus will be on local branch development,
of course, besides testing/debugging, etc
This commit was SVN r2213.
- make sure to pass jobid to the spawned process
- update test case and bootproxy to pass/receive jobid
- work on list splitting code for rsh spawn_procs()
This commit was SVN r2212.
* rework build_base_env to use newly discovered (by me, anyway) argv
interface
* add test case for build_base_env where I discovered I can't do boolean
logic....
This commit was SVN r2209.
have it there
* condense the rsh pcm into fewer files, for faster compile times
* Fix return value bug in mca_pcm_base_build_base_env()
This commit was SVN r2200.
* add env pcmclient, which builds client data out of environment variables
* improved rsh infrastructure a little bit - almost able to get to calling
fork()
* Removed instance information for llm - it should be burried in the pcm,
not exposed
*** YOU MUST RUN AUTOGEN / CONFIGURE / etc AFTER UPDATING ***
This commit was SVN r2191.
- added ompi_list_splice and ompi_list_join, which are multi-list
manipulation functions similar to the splice functions in the STL
list interface
- added ompi_list_is_empty() for O(1) testing of for an empty list
- added note that sometime in the future, ompi_list_get_size() may
change to O(N) complexity. DID NOT CHANGE THE FUNCTION IN ANY WAY.
If you are writing new code that needs to check for an empty list, please
use ompi_list_is_empty() rather than ompi_list_get_size() as is_empty()
will always be an O(1) operation (I can't see how you could make it
impossible to make it O(1), so this seems like a safe claim).
This commit was SVN r2186.
return code from waitpid(). For example, in some cases, when gcc
fails to compile the app for some reason, it returns an error status
of 1, which is a return code of 256. If we return 256 from main(),
only the lower 8 bits are returned which results in a 0 return status
from the wrapper compiler (doh!). So be sure that we properly strip
out the correct return status from the underlying compiler and return
only those 8 bits through main().
This commit was SVN r2175.