this); throw new IllegalStateException(“Age out of range”); // thread-safebuild() { throw new IllegalStateException(“Age out of range”); // bad, not thread-safe
Guid, Client> m_Clients;
//Does this if make the contents within it thread-safeGuid, Client> m_Clients;
//Does this if make the contents within it thread-safe
pyramidalFrameQueueConsumer();
// Queues
ConcurrentQueue<Eigen::MatrixXf> q_cam0; ///< Thread-safeConcurrentQueue<ros::Time> q_cam0_time; ///< Thread-safe and fast queue to hold capture timing for cam0q_ca
Task SimpleMethodContinuationAsync(Task antecedentTask, object state) // some very lightweight, thread-safeawait Task.Delay(5000); // Simulate async work.
// continuation of some more very lightweight, thread-safe