Diff

Differences From Artifact [33db21bdfd]:

To Artifact [9b20b616c9]:


1970
1971
1972
1973
1974
1975
1976
1977

1978
1979
1980
1981
1982
1983

1984
1985

1986
1987
1988
1989






1990
1991
1992
1993
1994
1995
1996
1970
1971
1972
1973
1974
1975
1976

1977






1978
1979

1980
1981



1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994







-
+
-
-
-
-
-
-
+

-
+

-
-
-
+
+
+
+
+
+







 * Terminate a thread
 */
static void appfs_terminate_interp_and_thread(void *_interp) {
	Tcl_Interp *interp;

	APPFS_DEBUG("Called: _interp = %p", _interp);

	if (_interp == NULL) {
	if (_interp != NULL) {
		APPFS_DEBUG("Terminating thread with no interpreter");

		return;
	}

	interp = _interp;
		interp = _interp;

	APPFS_DEBUG("Terminating interpreter due to thread termination");
		APPFS_DEBUG("Terminating interpreter due to thread termination");

	appfs_call_libtcl(
		Tcl_DeleteInterp(interp);
	)
		appfs_call_libtcl(
			Tcl_DeleteInterp(interp);
		)
	} else {
		APPFS_DEBUG("Terminating thread with no interpreter");
	}

	appfs_call_libtcl(
		Tcl_FinalizeThread();
	)

	return;
}