[go: up one dir, main page]

Menu

Commit [r5125]  Maximize  Restore  History

Replaces existing mutexes and threads with C++11 standard threads

-The mutexes and guards are both standard now, so removing those and
dropping in the C++11 equivalents
-There is also std::thread, which can mostly replace ThreadSpawn
-NOTE: Need to look at the places where std:🧵:native_handle
calls are made to make sure that there is no undefined behavior after
using the pthread calls to kill the threads. std::threads must be
detached or they will try to close an invalid handle at destruction.

m1iatauro 2020-01-10

1 2 > >> (Page 1 of 2)
changed /branches/modern-threads/src/app-framework/ExecApplication.cc
changed /branches/modern-threads/src/app-framework/ExecApplication.hh
changed /branches/modern-threads/src/app-framework/SerializedInputQueue.cc
changed /branches/modern-threads/src/app-framework/SerializedInputQueue.hh
changed /branches/modern-threads/src/app-framework/TimeAdapterImpl.cc
changed /branches/modern-threads/src/app-framework/TimeAdapterImpl.hh
changed /branches/modern-threads/src/apps/StandAloneSimulator/IpcCommRelay.cc
changed /branches/modern-threads/src/apps/StandAloneSimulator/Simulator.cc
changed /branches/modern-threads/src/apps/StandAloneSimulator/Simulator.hh
changed /branches/modern-threads/src/interfaces/IpcAdapter/IpcAdapter.cc
changed /branches/modern-threads/src/interfaces/IpcAdapter/IpcAdapter.hh
changed /branches/modern-threads/src/interfaces/IpcAdapter/MessageQueueMap.cc
changed /branches/modern-threads/src/interfaces/IpcAdapter/MessageQueueMap.hh
changed /branches/modern-threads/src/interfaces/IpcUtils/IpcFacade.cc
changed /branches/modern-threads/src/interfaces/IpcUtils/IpcFacade.hh
changed /branches/modern-threads/src/interfaces/UdpAdapter/MessageQueueMap.cc
changed /branches/modern-threads/src/interfaces/UdpAdapter/MessageQueueMap.hh
changed /branches/modern-threads/src/interfaces/UdpAdapter/UdpAdapter.cc
changed /branches/modern-threads/src/interfaces/UdpAdapter/UdpAdapter.hh
changed /branches/modern-threads/src/interfaces/UdpAdapter/test/udp-tests.cc
changed /branches/modern-threads/src/utils/Makefile.am
removed /branches/modern-threads/src/utils/RecursiveThreadMutex.cc
removed /branches/modern-threads/src/utils/RecursiveThreadMutex.hh
removed /branches/modern-threads/src/utils/ThreadMutex.cc
removed /branches/modern-threads/src/utils/ThreadMutex.hh
1 2 > >> (Page 1 of 2)