This commit is contained in:
Holger Vogt 2024-11-09 12:24:37 +01:00
parent c79b3501ef
commit 33ef1fc876
2 changed files with 2 additions and 2 deletions

View File

@ -1234,7 +1234,7 @@ inp_spsource(FILE *fp, bool comfile, char *filename, bool intfile)
ft_curckt->FTEstats->FTESTATnetPrepTime = seconds() - startTime;
}
/* in shared ngspice controls a execute in the primary thread, typically
/* in shared ngspice controls are executed in the primary thread, typically
before the background thread has finished. This leads to premature execution
of commands. Thus this is delegated to a function using a third thread, that
only starts when the background thread has finished (sharedspice.c).*/

View File

@ -593,7 +593,7 @@ sighandler_sharedspice(int num)
#endif /*THREADS*/
/* create a suspended thread tid2 that is activated when bg_run has finished.
It executes the .control commands. If the arguemnt is NULL, the thread is
It executes the .control commands. If the argument is NULL, the thread is
started with the existing controls (e.g. during command 'reset'. */
void
exec_controls(wordlist *newcontrols)