Files
SingularityViewer/indra/llcommon
Aleric Inglewood adf4c9a0ce Make the type of the read/write lock of AIThreadSafe a template parameter.
This allows passing a different type than the default AIRWLock for
debugging purposes.

The signature of the class used for RWLOCK should be:

struct RWLock {
  // Default constructor.
  RWLock(void);

  // Block until it's safe to read the data.
  // high_priority is a hint that granting this thread the read lock is more important than granting another thread a write lock.
  void rdlock(bool high_priority = false);
  // Release the obtained read lock.
  void rdunlock();
  // Block until it's safe to write to the data.
  void wrlock();
  // Release the obtained write lock.
  void wrunlock();
  // Convert the obtained write lock into a read lock.
  void wr2rdlock();
  // Block until it is possible to convert the obtained read lock into a write lock.
  void rd2wrlock();

  // Return true when a read or write is obtained and subsequent calls to release the lock are expected.
  bool isLocked() const;
};
2013-02-08 17:28:21 +01:00
..
2012-02-10 01:37:43 +01:00
2012-02-10 01:37:43 +01:00
2013-01-06 23:40:53 +01:00
2012-08-31 05:23:20 +02:00
2012-08-31 05:23:20 +02:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2012-01-09 16:14:33 -05:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2012-01-29 01:33:14 -06:00
2012-08-09 07:00:51 +02:00
2010-04-02 02:48:44 -03:00
2011-07-15 00:21:38 -05:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2011-07-14 01:35:15 -05:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2011-06-07 21:35:10 -05:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2012-02-23 18:50:28 +01:00
2010-04-02 02:48:44 -03:00
2012-09-10 02:06:07 +02:00
2012-09-10 02:06:07 +02:00
2012-01-23 18:30:54 -06:00
2010-04-02 02:48:44 -03:00
2013-01-30 00:36:31 +01:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2011-05-08 17:08:48 +02:00
2012-07-20 08:13:07 -04:00
2012-08-02 23:19:07 -04:00
2012-08-02 23:19:07 -04:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2012-04-29 00:25:40 -04:00
2012-08-02 23:19:07 -04:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2012-01-23 18:30:54 -06:00
2012-01-23 18:30:54 -06:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2012-02-01 03:27:04 +01:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2012-07-20 08:13:07 -04:00
2010-04-02 02:48:44 -03:00
2012-08-02 23:19:07 -04:00
2012-07-20 08:13:07 -04:00
2012-08-02 23:19:07 -04:00
2010-04-02 02:48:44 -03:00
2013-01-20 05:57:05 +01:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2011-02-22 18:24:17 -06:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2011-07-13 04:35:38 -05:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00
2010-04-02 02:48:44 -03:00