Commit Graph
23 Commits
Author SHA1 Message Date
Rodrigo Kumpera 232af8c206 Add CI to WebAssembly. This is PR based on top of # Only the top 3 commits matter for this PR: (#6488)
* [WASM] Fix System.Core issues and disable broken tests.

* [wasm] Fix cookie computation heap overflow. Use a local to make it thread safe.

* [wasm] Disable System tests that don't work under WASM. Change the wasm profile to disable BSD sockets.

* [wasm] Address reviewer feedback.

* [wasm] Disable test that requires multiple threads.

* [wasm] Add package target to wasm.

* [wasm] Modify the runner to exit(1) if the test suite fails.

* [wasm] Add CI configuration for WebAssembly.

* [wasm] Fix issues found over review.
2018-01-18 14:34:00 +01:00
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Alexander Köplinger 98cf04084a [bcl] Remove NET_4_0 defines from class libs
NET_4_0 is always defined now, so the ifdefs are redundant.
I verified the libs are exactly the same after this change, so this is effectively a no-op.
2015-07-26 15:01:49 +02:00
Rodrigo Kumpera 13db0d01c0 [System.Core] Make one test much less likely to fail. 2014-11-24 17:08:02 -05:00
Marek Safar cbca01b433 Add dispose checks to ReaderWriterLockSlim and fix race in currentThreadState initialization 2013-08-19 10:22:23 +02:00
Marek Safar f75a9a9520 ifdef 4.0 using 2012-06-27 08:39:25 +01:00
Sebastien Pouliot 67d6dcdc54 fix compilation under NET_2_0 2011-11-07 21:13:19 -05:00
Jeremie Laval 51f51a430f Add RwWrite flag to status check when already owning upgradeable lock. Fix #802. 2011-11-04 01:15:29 +01:00
Jeremie Laval e2e28d46d4 Set success boolean in all cases and avoid state masking. Fix #124 2011-11-01 16:28:24 +01:00
Jérémie Laval ff80eb8f67 [ReaderWriterLockSlim] Fix for #656353. Add corresponding unit test.
When in SupportsRecursion mode, a test was not including proper state check for short-circuiting.
2010-12-01 14:38:28 +00:00
Jérémie Laval 4016c03e34 Fix ReaderWriterLockSlim Exit methods in SupportsRecursion mode and add corresponding unit tests 2010-11-23 10:59:07 +00:00
Jérémie Laval 252741661e Fix a dodgy ReaderWriterLockSlim unit test 2010-10-22 15:16:49 +01:00
Jérémie Laval e0d372e7bf Turn Is*LockHeld properties into thread-specific values in ReaderWriterLockSlim. Add corresponding unit tests. 2010-09-28 13:23:05 +01:00
Jérémie Laval 5c52755ffd Allow recursive Write + n * Read lock pattern for ReaderWriterLockSlim and add corresponding unit test 2010-09-01 14:26:42 +01:00
Jérémie Laval 68d6de4134 Check Recursive counts for ReaderWriterLockSlim in unit tests 2010-09-01 13:58:58 +01:00
Jérémie Laval fcf6cc6955 Add unit tests for recursive acquire of a Write or Upgradeable lock from a Read lock state 2010-08-31 17:01:41 +01:00
Jérémie Laval 0348e24eb7 Add unit test for ReaderWriterLockSlim basic recursion support. 2010-08-31 17:01:40 +01:00
Jérémie Laval ed5833ed6a Tune thread count in ReaderWriterLockSlim unit tests 2010-08-31 17:01:38 +01:00
Jérémie Laval 5d3ce7655d Fix ReaderWriterLockSlim unit tests.
In the latest revision of the framework, ReaderWriterLockSlim is totally fair and thus a call to TryEnterReadLock musn't succeed when writers are waiting to get the lock before them (and when the lock is currently in read mode).
2010-08-31 17:01:37 +01:00
Jérémie Laval 15a738f32f Fix ReaderWriterLockSlim unit tests.
As stated by MSDN, to be fully downgraded to a read lock state a call to ExitUpgradableReadLock must be issued straight after EnterReadLock.
2010-08-31 17:01:37 +01:00
Jb Evain 7feca4fdb6 comment out debug output
svn path=/trunk/mcs/; revision=155398
2010-04-14 15:25:59 +00:00
Atsushi Eno 440ba3208d 2009-06-15 Atsushi Enomoto <[email protected]>
* ReaderWriterLockSlim.cs : fix deadlock when entered
          read lock -> entered writer lock -> exited writer lock
          -> exited read lock and then entered reader lock.
          Fixed bug #512485, patch by Kazuki Oikawa.

        * ReaderWriterLockSlimTest.cs : test for bug #512485, by
          Kazuki Oikawa.


svn path=/trunk/mcs/; revision=136109
2009-06-15 10:27:41 +00:00
Marek Safar 2101a3d1e7 2009-01-18 Marek Safar <[email protected]>
* ReaderWriterLockSlim.cs: Implemented all properties.


svn path=/trunk/mcs/; revision=123729
2009-01-18 13:24:26 +00:00