Oct. 2, 2016
12:15 p.m.
Hi, can anyone think of some inherent danger to performing code compilation on background? E.g. [ cls := Object subclass: #Something. cls addInstVarNamed: #myVar. cls addInstVarNamed: #myVar2. cls addInstVarNamed: #myVar3. cls compile: 'method'. cls compile: 'myVar ^ myVar'. cls compile: 'myVar3 ^ myVar3'. cls removeInstVarNamed: #myVar3. ] fork. Parallel operations on the same class are not an issue for me, but I don't know if this can lead to some eventual corruption (because Pharo assumes that e.g. changes file is locked etc.). Or e.g. installing new project/package on the background while I countinue doing my work (=writing code). Thanks, Peter