Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-06-15
03:05 • Closed ticket [3015085fff]: After build the dynamic lib, there is no TclpInitLoc... artifact: 3d6d32d04a user: nijtmans
03:05 • Ticket [3015085fff]: 4 changes artifact: 81f5780ae2 user: nijtmans
2010-06-12
09:37 • Ticket [3015085fff]: 1 change artifact: 46b46933eb user: blackcat242
02:36 • New ticket [3015085fff]. artifact: 435afb1e77 user: blackcat242

After build the dynamic lib, there is no TclpInitLock symbol

Closed / Invalid3015085fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 16 years ago
Descriptionplain2010-06-12 02:36:04
I build the tcl in windows via the command "nmake -f makefile.vc OPTS=threads", build success. But when I used the tcl8.*.lib in my code, there is the link error. There is not "TclpInitLock" symbol in the lib.
blackcat242 Ticket [3015085fff]: 1 change [History diff]2010-06-12 09:37:17
nijtmansplain2010-06-15 03:05:52
The key here is "my code", which apparently calls TclpInitLock() somewhere. Well, this function
is MODULE_SCOPE, so it is not meant to be called from outside, it's only for Tcl's internal
use.

If you want to use some locking in your code, use Tcl_MutexLock() and Tcl_MutexUnlock()
in stead.
nijtmansplain2010-06-15 03:05:53
allow_comments - 1
Log in (anonymous is fine) to add a comment.