bmake.bat
author Jan Vrany <jan.vrany@labware.com>
Thu, 25 Mar 2021 20:30:03 +0000
branchjv
changeset 25411 248600ba8fd9
parent 19811 65fec19facb0
child 25440 039a5cea86c3
permissions -rw-r--r--
Fix unlikely but possible race in `WeakValueDictionary` It may happen that value in `valueArray` could have been already collected by the GC but #clearDeadSlots have not yet been called. When this happened, `#at:ifAbsentPut:` returned tombstone rather than updating the dictionary with value from block. This commit fixes this by checking whether `valueArray` contain the tombstone and if so, clearing up the dead slots and restarting the operation. HTH.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12190
7b1648b50e50 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 12070
diff changeset
     1
@REM -------
14394
009c7a038ce6 automatically generated by browser
Stefan Vogel <sv@exept.de>
parents: 13831
diff changeset
     2
@REM make using Borland bcc32
12190
7b1648b50e50 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 12070
diff changeset
     3
@REM type bmake, and wait...
7b1648b50e50 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 12070
diff changeset
     4
@REM do not edit - automatically generated from ProjectDefinition
7b1648b50e50 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 12070
diff changeset
     5
@REM -------
15971
33779a17bc1a class: CharacterEncoder
Claus Gittinger <cg@exept.de>
parents: 14394
diff changeset
     6
@SET DEFINES=
18747
6807080edaa9 Re-added Mercurial hooks to bmake.bat
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 18555
diff changeset
     7
@REM Kludge got Mercurial, cannot be implemented in Borland make
6807080edaa9 Re-added Mercurial hooks to bmake.bat
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 18555
diff changeset
     8
@FOR /F "tokens=*" %%i in ('hg root') do SET HGROOT=%%i
6807080edaa9 Re-added Mercurial hooks to bmake.bat
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 18555
diff changeset
     9
@IF "%HGROOT%" NEQ "" SET DEFINES=%DEFINES% "-DHGROOT=%HGROOT%"
18530
886d0e19c46d Need librt.so for LINUX
Stefan Vogel <sv@exept.de>
parents: 15971
diff changeset
    10
15971
33779a17bc1a class: CharacterEncoder
Claus Gittinger <cg@exept.de>
parents: 14394
diff changeset
    11
make.exe -N -f bc.mak  %DEFINES% %*
12228
82cd01cd8686 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 12190
diff changeset
    12
82cd01cd8686 automatically generated by browser
Claus Gittinger <cg@exept.de>
parents: 12190
diff changeset
    13
19724
53f4eb2cc657 obsoletemethodwarning
Claus Gittinger <cg@exept.de>
parents: 18530
diff changeset
    14
53f4eb2cc657 obsoletemethodwarning
Claus Gittinger <cg@exept.de>
parents: 18530
diff changeset
    15