Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-01-15
01:47 • Closed ticket [503451ffff]: Thread: Unknown "ThreadKill" function ... artifact: ac5fab512d user: andreas_kupries
2002-01-14
18:44 • New ticket [503451ffff]. artifact: 2e8a042735 user: andreas_kupries

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.