Re: issue-#104 calling URLs and commands (InfoCmds capabilit
Posted: Tue Mar 15, 2016 5:40 pm
The child thread can use "stable" memory of the parent thread, so it can not be problem with Dialog.IsWine() (Dialog.Run can not be called if Dialog is unloaded). The only problems can be if callName changes while creating a process. For that purpose I made callNameTaken variable and wait until name is taken by child thread.Josef Templ wrote:Dialog.IsWine() cannot be called in a parallel thread.
Even if its current implementation happens to work (by accident)
this is way too dangerous.
If somebody changes it later then the parallel thread execution may
CRASH BlackBox completely. It should be clear to anybody that this
cannot go into master. It needs to be reconsidered in more detail first.
In general, it does not give sense to sacrifice the stability of the system
for a rarely used feature.