Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.