Skip to content

Releases: pharo-ide/ReadWriteLock

Pharo 10 compatibility

19 Dec 23:23
6fd9ba8
Compare
Choose a tag to compare

It fixes the reflective code for the lock flag variable updating to be Pharo 10 compatible.

Fixed to Pharo 7/8/9 compatibility

02 Dec 11:30
af372c9
Compare
Choose a tag to compare

ReadWriteLockTests >> testFailedReadShouldUnblockWrite
ReadWriteLockTests >> testFailedWriteShouldUnblockRead

  • BlockClosure #ifError was deprecated on Pharo 9.
  • I'm using "(BlockClosure canUnderstand: #onErrorDo:) ifTrue: ifFalse:" to keep compatibility.

ReadWriteLockTests >> testTerminatingReadWhichWaitingWriteAndAnotherRead
ReadWriteLockTests >> testTerminatingWriteWhichWaitingAnotherTwoWrites
By @MarcusDenker:

  • When the process is terminating, it calls: #handleProcessTerminationOfWaitingContext:
  • Due to the "full blocks" in Pharo9, "suspendedContext method" is not that method, but the method of the block (the "compiledBlock")
  • So I change that to "suspendedContext home method pragmas do: "
  • It was using "pragma keyword ", but that is old, it is "selector" now

Migration to Tonel

05 Jul 13:46
05e38aa
Compare
Choose a tag to compare
  • migration to Tonel
  • drop Pharo 6.0 support

Remove dependency to StateSpecs

05 May 14:31
9a4ff0d
Compare
Choose a tag to compare

Now assert: is used in tests instead of should

Fix for locked process termination logic

05 Feb 12:24
83cb428
Compare
Choose a tag to compare

There was incorrect behaviour when read process locked by write was terminated.

Also this version includes better stable tests

moved from smalltalkhub

15 Jul 17:22
Compare
Choose a tag to compare

package named according convention