Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Tcl_ConditionWait()

Closed / Invalide9e8bb39dee495a18ecfe51fef569f20491256caCreated 6 years agoUpdated 6 years ago
Descriptionplain2021-02-09 08:53:56
Hi,
Tcl_ConditionWait() is defined but not used anywhere, please correct me if I'm wrong...
if this function is not needed, pthread_cond_wait() is not needed.
if pthread_cond_wait() is not needed, instead of using pthread_mutex_t in tclUnixThrd.c we could use os_unfair_lock on macOS, which seems to be the desired locking way on modern macOS.

best regards,
nicolas
sl1200mk2plain2021-02-09 09:06:39
please forget about it... I didn't checked the Thread extension.

++
Log in (anonymous is fine) to add a comment.