Thread: Unknown "ThreadKill" function
Closed / Duplicate503451ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-01-14 18:44:59
The command "thread::kill" (ThreadKillObjCmd) uses a function "ThreadKill" which was unknown when I tried to compile the package for Linux (linker bailed out). I suspect that this function is a Win*-specific API. Hence my initial assignment of this report to David. If my suspicion is confirmed we will need a TIP to extend the public API of Tcl with a generic "Tcl_ThreadKill" function analogous to "Tcl_ThreadExit", albeit with a different signature. The nearest POSIX command to perform the same operation is "pthread_kill" which sends a signal to a specific thread. But I don't know if Tcl (or Linux) knows how to deal with such. I do not know if there is something equivalent on the Mac.
andreas_kupriesplain2002-01-15 01:47:15
Logged In: YES user_id=75003 Oh, this is a duplicate of #487214.
Log in (anonymous is fine) to add a comment.