Tomasz Sowa
fc33b4f882
added: a deadlock counter to Synchro class
...
now we can use Lock() more than one in the same thread
and next Unlock() will recognize it
sample:
Lock(); // first lock -- resources locked
Lock(); // second lock -- skipped (counter incremented)
...
Unlock(); // first unlock -- skipped (because counter greater than zero)
Unlock(); // second unlock -- actually unlocking
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@830 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-04-28 20:57:57 +00:00
..
2011-04-02 00:10:16 +00:00
2011-04-02 00:10:16 +00:00
2011-04-02 00:10:16 +00:00
2012-04-22 18:23:44 +00:00
2012-04-22 18:23:44 +00:00
2011-07-28 22:18:10 +00:00
2011-07-28 22:18:10 +00:00
2011-04-16 11:27:54 +00:00
2011-04-26 17:19:08 +00:00
2011-04-02 00:10:16 +00:00
2011-04-02 00:10:16 +00:00
2012-04-22 13:30:07 +00:00
2012-03-09 22:56:54 +00:00
2011-01-23 14:15:30 +00:00
2012-01-12 02:24:08 +00:00
2011-06-24 20:53:21 +00:00
2011-06-21 21:24:49 +00:00
2011-01-05 21:24:11 +00:00
2012-01-24 23:03:36 +00:00
2012-02-27 17:43:59 +00:00
2012-01-24 23:03:36 +00:00
2011-07-28 22:18:10 +00:00
2011-01-23 14:15:30 +00:00
2012-03-09 02:36:25 +00:00
2012-03-09 02:36:25 +00:00
2011-12-04 19:34:39 +00:00
2011-04-16 11:27:54 +00:00
2010-02-28 21:33:06 +00:00
2011-01-23 14:15:30 +00:00
2012-03-17 05:11:23 +00:00
2011-09-13 06:08:34 +00:00
2012-02-17 05:19:24 +00:00
2012-02-29 22:52:55 +00:00
2012-04-28 20:57:57 +00:00
2012-04-25 22:24:37 +00:00
2012-03-17 05:11:23 +00:00
2011-01-23 14:15:30 +00:00
2010-02-28 00:08:10 +00:00
2011-01-23 14:15:30 +00:00
2012-02-10 00:29:54 +00:00
2012-02-10 00:29:54 +00:00
2011-06-19 20:59:58 +00:00
2012-03-12 20:30:36 +00:00
2012-04-25 22:24:37 +00:00
2012-04-25 22:24:37 +00:00
2012-03-11 16:21:52 +00:00
2012-04-22 18:23:44 +00:00
2010-11-25 01:34:46 +00:00
2011-01-23 14:15:30 +00:00
2011-06-21 21:24:49 +00:00
2011-06-21 21:24:49 +00:00
2012-03-17 05:11:23 +00:00
2012-01-24 23:03:36 +00:00
2012-04-28 20:57:57 +00:00
2012-04-28 20:57:57 +00:00
2012-03-17 05:11:23 +00:00
2012-03-17 05:11:23 +00:00
2012-04-25 22:24:37 +00:00
2012-01-12 02:24:08 +00:00
2011-06-24 20:53:21 +00:00
2012-01-12 02:24:08 +00:00
2011-01-23 14:15:30 +00:00
2011-01-23 14:15:30 +00:00
2012-04-22 18:23:44 +00:00
2012-04-22 18:23:44 +00:00
2011-07-28 22:18:10 +00:00
2011-06-09 21:22:08 +00:00
2011-06-09 21:22:08 +00:00
2012-03-17 05:11:23 +00:00
2012-03-17 05:11:23 +00:00
2012-03-17 05:11:23 +00:00
2012-03-17 05:11:23 +00:00
2012-03-17 05:11:23 +00:00
2012-03-17 05:11:23 +00:00
2012-03-17 05:11:23 +00:00
2012-03-17 05:11:23 +00:00
2011-06-19 20:59:58 +00:00
2011-07-07 17:02:14 +00:00
2012-04-28 20:57:57 +00:00
2012-04-28 20:57:57 +00:00
2012-04-25 22:24:37 +00:00
2012-04-25 22:24:37 +00:00
2010-11-21 00:19:17 +00:00
2012-02-10 00:29:54 +00:00
2012-04-25 22:24:37 +00:00
2011-07-28 22:18:10 +00:00
2012-03-09 02:36:25 +00:00
2012-02-28 21:09:44 +00:00
2012-04-22 13:30:07 +00:00
2012-03-14 20:25:30 +00:00
2011-06-19 20:59:58 +00:00